From a5f0aed8e5cf07e1cb174ce2af4bad3e8c1d304f Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 2 Oct 2024 08:58:56 -0600 Subject: [PATCH] Strict CLI --- .../the/bytecode/club/bytecodeviewer/cli/BCVCommandLine.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/cli/BCVCommandLine.java b/src/main/java/the/bytecode/club/bytecodeviewer/cli/BCVCommandLine.java index 04538590..29adcfe3 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/cli/BCVCommandLine.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/cli/BCVCommandLine.java @@ -157,8 +157,7 @@ public class BCVCommandLine public CLICommand getCommand(String name) { for(CLICommand command : COMMANDS) - if(command.name.equals(name) - || command.nameFormatted.equals(name)) + if(command.nameFormatted.equals(name)) return command; return null;