2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-26 00:37:10 -07:00

setting exit status for unknown command

This commit is contained in:
Leonardo Silveira 2024-05-04 18:44:18 -03:00
parent accf27c4db
commit 4d841a7c72
2 changed files with 5 additions and 2 deletions

View file

@ -463,6 +463,7 @@ public class BuildExecutor {
new HelpOperation(this, arguments()).executePrintOverviewHelp();
System.err.println();
System.err.println("ERROR: unknown command '" + command + "'");
exitStatus(1);
return false;
}
return true;