commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r704549 - /commons/proper/cli/trunk/xdocs/examples/ant.xml
Date Tue, 14 Oct 2008 14:34:05 GMT
Author: ebourg
Date: Tue Oct 14 07:34:05 2008
New Revision: 704549

URL: http://svn.apache.org/viewvc?rev=704549&view=rev
Log:
Reverted the replacement of withShortName with withLongName (CLI-171)

Modified:
    commons/proper/cli/trunk/xdocs/examples/ant.xml

Modified: commons/proper/cli/trunk/xdocs/examples/ant.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/xdocs/examples/ant.xml?rev=704549&r1=704548&r2=704549&view=diff
==============================================================================
--- commons/proper/cli/trunk/xdocs/examples/ant.xml (original)
+++ commons/proper/cli/trunk/xdocs/examples/ant.xml Tue Oct 14 07:34:05 2008
@@ -48,53 +48,53 @@
       </p>
 <source>Option help =
     obuilder
-        .withLongName("help")
+        .withShortName("help")
         .withShortName("h")
         .withDescription("print this message")
         .create();
 Option projecthelp =
     obuilder
-        .withLongName("projecthelp")
+        .withShortName("projecthelp")
         .withShortName("p")
         .withDescription("print project help information")
         .create();
 Option version =
     obuilder
-        .withLongName("version")
+        .withShortName("version")
         .withDescription("print the version information and exit")
         .create();
 Option diagnostics =
     obuilder
-        .withLongName("diagnostics")
+        .withShortName("diagnostics")
         .withDescription("print information that might be helpful to diagnose or report problems.")
         .create();
 Option quiet =
     obuilder
-        .withLongName("quiet")
+        .withShortName("quiet")
         .withShortName("q")
         .withDescription("be extra quiet")
         .create();
 Option verbose =
     obuilder
-        .withLongName("verbose")
+        .withShortName("verbose")
         .withShortName("v")
         .withDescription("be extra verbose")
         .create();
 Option debug =
     obuilder
-        .withLongName("debug")
+        .withShortName("debug")
         .withShortName("d")
         .withDescription("print debugging information")
         .create();
 Option emacs =
     obuilder
-        .withLongName("emacs")
+        .withShortName("emacs")
         .withShortName("e")
         .withDescription("produce logging information without adornments")
         .create();
 Option lib =
     obuilder
-        .withLongName("lib")
+        .withShortName("lib")
         .withDescription("specifies a path to search for jars and classes")
         .withArgument(
             abuilder
@@ -105,7 +105,7 @@
         .create();
 Option logfile =
     obuilder
-        .withLongName("logfile")
+        .withShortName("logfile")
         .withShortName("l")
         .withDescription("use given file for log")
         .withArgument(
@@ -117,7 +117,7 @@
         .create();
 Option logger =
     obuilder
-        .withLongName("logger")
+        .withShortName("logger")
         .withDescription("the class which is to perform logging")
         .withArgument(
             abuilder
@@ -128,7 +128,7 @@
         .create();
 Option listener =
     obuilder
-        .withLongName("listener")
+        .withShortName("listener")
         .withDescription("add an instance of class as a project listener")
         .withArgument(
             abuilder
@@ -139,13 +139,13 @@
         .create();
 Option noinput =
     obuilder
-        .withLongName("noinput")
+        .withShortName("noinput")
         .withDescription("do not allow interactive input")
         .create();
 Option buildfile =
     obuilder
-        .withLongName("buildfile")
-        .withLongName("file")
+        .withShortName("buildfile")
+        .withShortName("file")
         .withShortName("f")
         .withDescription("use given buildfile")
         .withArgument(
@@ -158,7 +158,7 @@
 Option property = new PropertyOption();
 Option propertyfile =
     obuilder
-        .withLongName("propertyfile")
+        .withShortName("propertyfile")
         .withDescription("load all properties from file with -D properties taking precedence")
         .withArgument(
             abuilder
@@ -169,7 +169,7 @@
         .create();
 Option inputhandler =
     obuilder
-        .withLongName("inputhandler")
+        .withShortName("inputhandler")
         .withDescription("the class which will handle input requests")
         .withArgument(
             abuilder
@@ -180,7 +180,7 @@
         .create();
 Option find =
     obuilder
-        .withLongName("find")
+        .withShortName("find")
         .withShortName("s")
         .withDescription("search for buildfile towards the root of the filesystem and use
it")
         .withArgument(



Mime
View raw message