Skip to content

Commit

Permalink
Use apache common cli
Browse files Browse the repository at this point in the history
  • Loading branch information
94fzb committed Sep 30, 2024
1 parent c52123a commit a455d79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static FileServerOptions parseToOptions(String[] args) {
CommandLineParser parser = new DefaultParser();
CommandLine cmd = parser.parse(options, args);
if (cmd.hasOption("help")) {
formatter.printHelp("-help", options);
formatter.printHelp("--help", options);
return null;
}
if (cmd.hasOption("version")) {
Expand Down

0 comments on commit a455d79

Please sign in to comment.