diff --git a/manual/running.html b/manual/running.html index 46005b553..529afc7dc 100644 --- a/manual/running.html +++ b/manual/running.html @@ -100,11 +100,11 @@ targets, or if Ant is invoked in -verbose or -debug mode).
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
diff --git a/src/main/org/apache/tools/ant/Main.java b/src/main/org/apache/tools/ant/Main.java
index b9492acb1..a9c23a53a 100644
--- a/src/main/org/apache/tools/ant/Main.java
+++ b/src/main/org/apache/tools/ant/Main.java
@@ -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");