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 125d570 commit 8a7ca78
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) {
if (cmd.hasOption("path")) {
File file = new File(cmd.getOptionValue("path"));
if (file.isFile() || !file.exists()) {
System.err.println("-path arg need is exists folder");
System.err.println("--path arg need is exists folder");
return null;
} else {
path = file.toString();
Expand Down

0 comments on commit 8a7ca78

Please sign in to comment.