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:
parent
accf27c4db
commit
4d841a7c72
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue