Set a non-zero exit code when error incommand parsing (#3137)

This commit is contained in:
Charles Allen 2016-06-13 20:38:37 -07:00 committed by Fangjin Yang
parent dc2bf9efa5
commit e7ac2e8ba2
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ public class Main
System.out.println(e.getMessage());
System.out.println("===");
cli.parse(new String[]{"help"}).run();
System.exit(1);
}
}
}