Update command line help message
This commit is contained in:
parent
cfcd124926
commit
ab3a633c0c
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue