Skip to content

Commit

Permalink
fix: update it even more
Browse files Browse the repository at this point in the history
  • Loading branch information
azurejelly committed Aug 31, 2024
1 parent 0b9b522 commit 9a7e1ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public File provideConfigurationDirectory(CommandLine cli, Options options) {
return cli.getParsedOptionValue(CommandArguments.CONFIG_FOLDER);
} catch (ParseException ex) {
HelpFormatter formatter = new HelpFormatter();
formatter.printHelp("java -jar nuvotifier-standalone.jar", options);
formatter.printHelp("java -jar nuvotifier-standalone.jar [OPTIONS]", options);
System.exit(1);
return null;
}
Expand Down Expand Up @@ -114,7 +114,7 @@ public CommandLine getCommandLine(Options options, String[] args) {
return parser.parse(options, args);
} catch (ParseException ex) {
HelpFormatter formatter = new HelpFormatter();
formatter.printHelp("java -jar nuvotifier-standalone.jar", options);
formatter.printHelp("java -jar nuvotifier-standalone.jar [OPTIONS]", options);
System.exit(1);
return null;
}
Expand All @@ -141,7 +141,7 @@ public int getPort(CommandLine cli, Options options, VotifierConfiguration confi
return Integer.parseInt(str);
} catch (NumberFormatException ex) {
HelpFormatter formatter = new HelpFormatter();
formatter.printHelp("java -jar nuvotifier-standalone.jar", options);
formatter.printHelp("java -jar nuvotifier-standalone.jar [OPTIONS]", options);
System.exit(1);
}
}
Expand Down

0 comments on commit 9a7e1ef

Please sign in to comment.