added debug flag - alias for verbose

v5stable
Ondřej Hruška 11 years ago
parent 9ca95838eb
commit cb0e87f460
  1. 4
      src/mightypork/rogue/Launcher.java

@ -46,7 +46,7 @@ public class Launcher {
llSyso = Level.WARNING; llSyso = Level.WARNING;
continue; continue;
} else if (arg.equals("--verbose") || arg.equals("-v")) { } else if (arg.equals("--debug") || arg.equals("--verbose") || arg.equals("-v")) {
llSyso = Level.ALL; llSyso = Level.ALL;
continue; continue;
@ -89,7 +89,7 @@ public class Launcher {
System.out.println( System.out.println(
"Arguments:\n" + "Arguments:\n" +
"\t--workdir <path>, -w <path> .... specify working directory\n" + "\t--workdir <path>, -w <path> .... specify working directory\n" +
"\t--verbose, -v .................. print all messages\n" + "\t--verbose, --debug, -v ......... print all messages\n" +
"\t--silent, -s ................... print no messages\n" + "\t--silent, -s ................... print no messages\n" +
"\t--warnings, -e ................. print only warning and error messages\n" + "\t--warnings, -e ................. print only warning and error messages\n" +
"\t--help, -h ..................... show this help\n"); "\t--help, -h ..................... show this help\n");

Loading…
Cancel
Save