Update command line help message

This commit is contained in:
standash 2017-09-04 13:19:44 +02:00
parent cfcd124926
commit ab3a633c0c
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public class Main {
} }
catch (ParseException e) { catch (ParseException e) {
System.out.println("ERROR: " + e.getMessage()); System.out.println("ERROR: " + e.getMessage());
helpFormatter.printHelp("utility-name", opts); helpFormatter.printHelp("java -jar molerat.jar", opts);
} }
} }

View File

@ -58,7 +58,7 @@ public class Main {
} }
catch (ParseException e) { catch (ParseException e) {
System.out.println("ERROR: " + e.getMessage()); System.out.println("ERROR: " + e.getMessage());
helpFormatter.printHelp("utility-name", opts); helpFormatter.printHelp("java -jar repoman.jar", opts);
} }
catch (Exception e) { catch (Exception e) {
System.out.println("ERROR: " + e.getMessage()); System.out.println("ERROR: " + e.getMessage());