Skip to content

Commit a5f0aed

Browse files
committed
Strict CLI
1 parent ba0411c commit a5f0aed

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/cli/BCVCommandLine.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ private void handleCLIDecompilation(CommandLine cmd)
157157
public CLICommand getCommand(String name)
158158
{
159159
for(CLICommand command : COMMANDS)
160-
if(command.name.equals(name)
161-
|| command.nameFormatted.equals(name))
160+
if(command.nameFormatted.equals(name))
162161
return command;
163162

164163
return null;

0 commit comments

Comments
 (0)