Skip to content

Commit

Permalink
Preparing release v1.1.0
Browse files Browse the repository at this point in the history
-fix help command not working
  • Loading branch information
Fabrice V committed Mar 27, 2020
1 parent 9be771e commit 841995b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ public static void main(String[] args) {

final CommandLine cmd = parser.parse(options, args);

if (args.length == 0) {
if (args.length == 0 || cmd.hasOption("h")) {
printHelp(options);
} else if (cmd.hasOption("h")) {
return;
}

Expand Down

0 comments on commit 841995b

Please sign in to comment.