Skip to content

Commit b419562

Browse files
committed
fix error messaging tigger
1 parent c886640 commit b419562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/zos/shell/command/CommandRouter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public void routeCommand(String[] params, String input) {
310310
searchCache = HelpService.displayCommandAbbreviation(terminal, params[1]);
311311
}
312312
}
313-
if (searchCache.getOutput().length() > 0) {
313+
if (searchCache.getOutput().length() == 0) {
314314
terminal.println(Constants.HELP_COMMAND_NOT_FOUND);
315315
}
316316
break;

0 commit comments

Comments
 (0)