You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/08/04 19:26:49 UTC

DO NOT REPLY [Bug 11457] New: - Allow an option to be created by only specifying a longOpt value

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11457>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11457

Allow an option to be created by only specifying a longOpt value

           Summary: Allow an option to be created by only specifying a
                    longOpt value
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: CLI
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jbjk@mac.com


This request was submitted by Pete Maddocks ( peter_maddocks@hp.com ).

Example usage:

NAME
array - Get and set array information. 

SYNOPSIS
array [arrayname] [ options ] 

ARGUMENTS
arrayname

OPTIONS
-a, --all
Show all attributes of the array.

-r, --rename aliasname
Sets the alias name of the Array to aliasname.  

-c, --capacity
Show all the associated capacities with this Array.

--vendor
Show the Vendor of the array. 

--product
Show the Product ID of the array.


The Option constructor that I need is:
public Option(
              java.lang.String longOpt,
              boolean hasArg,
              java.lang.String description,
              boolean required)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>