From a6d857c2bd09bdff3a7b4473d312451f5fd28f87 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 1 Aug 2013 04:31:07 +0200 Subject: doc the java part that is similar to in python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/argparser.texinfo | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'info') diff --git a/info/argparser.texinfo b/info/argparser.texinfo index f374340..8cd113a 100644 --- a/info/argparser.texinfo +++ b/info/argparser.texinfo @@ -168,6 +168,25 @@ options invoke the nulladic method @code{help}. The JAR for ArgParser, @file{ArgParser.jar}, is located in @file{/usr/lib}. When using it you need to import @code{argparser.ArgParser}. +@code{ArgParser} has six constructors, conforming to: +@code{description, usage, [longDescription, [program]], [useStderr]}. +These correspond to those in the Python version. + +@code{ArgParser.parent_name} from the Python version is named +@code{ArgParser.parentName} in the Java version and is identical +except it parses Java invocation rather then Python invocation. +Further @code{support_alternatives}, @code{test_exclusiveness}, +@code{test_allowed}, @code{test_files} and @code{help} are named +@code{supportAlternatives}, @code{testExclusiveness}, @code{testAllowed}, +@code{testFiles} and @code{help} respectively and @code{testFiles} +without @var{min} is named @code{testFilesMax} and @code{testFiles} +without @var{max} is named @code{testFilesMin}. + +@var{message} is a @code{String}, @var{files} is a @code{ArrayList}, +@var{unrecognisedCount} is a @code{int}, @var{arguments} is a @code{String[]}, +and @var{opts} is a @code{HashMap}. +@var{argcount} does not exist. + @c@node Bash version -- cgit v1.2.3-70-g09d2