Browse Source

PR 56747 Document which options exit in help output, submitted by Ville Skyttä

master
Ville Skyttä Stefan Bodewig 11 years ago
parent
commit
47a3b5144e
2 changed files with 6 additions and 6 deletions
  1. +3
    -3
      manual/running.html
  2. +3
    -3
      src/main/org/apache/tools/ant/Main.java

+ 3
- 3
manual/running.html View File

@@ -100,11 +100,11 @@ targets, or if Ant is invoked in -verbose or -debug mode).
<h3><a name="options">Command-line Options Summary</a></h3>
<pre>ant [options] [target [target2 [target3] ...]]
Options:
-help, -h print this message
-projecthelp, -p print project help information
-help, -h print this message and exit
-projecthelp, -p print project help information and exit
-version print the version information and exit
-diagnostics print information that might be helpful to
diagnose or report problems.
diagnose or report problems and exit
-quiet, -q be extra quiet
-silent, -S print nothing but task outputs and build failures
-verbose, -v be extra verbose


+ 3
- 3
src/main/org/apache/tools/ant/Main.java View File

@@ -1009,11 +1009,11 @@ public class Main implements AntMain {
private static void printUsage() {
System.out.println("ant [options] [target [target2 [target3] ...]]");
System.out.println("Options: ");
System.out.println(" -help, -h print this message");
System.out.println(" -projecthelp, -p print project help information");
System.out.println(" -help, -h print this message and exit");
System.out.println(" -projecthelp, -p print project help information and exit");
System.out.println(" -version print the version information and exit");
System.out.println(" -diagnostics print information that might be helpful to");
System.out.println(" diagnose or report problems.");
System.out.println(" diagnose or report problems and exit");
System.out.println(" -quiet, -q be extra quiet");
System.out.println(" -silent, -S print nothing but task outputs and build failures");
System.out.println(" -verbose, -v be extra verbose");


Loading…
Cancel
Save