Defines the Option class and some standard value-checking functions.
Instance attributes: shortOpts : [string] longOpts : [string]
action : string type : string dest : string default : any nargs : int const : any choices : [string] callback : function callbackArgs : (any*) help : string metavar : string
Located in /Argv/lib/Horde/Argv/Option.php (line 32)
Class | Description |
---|---|
![]() |
Defines the Option class and some standard value-checking functions. |
![]() |
Defines the Option class and some standard value-checking functions. |
![]() |
Defines the Option class and some standard value-checking functions. |
Not supplying a default is different from a default of None, so we need an explicit "not supplied" value.
The set of actions which *require* a value type, ie. that always consume an argument from the command line.
The set of actions that involve storing a value somewhere;
also listed just for constructor argument validation. (If the action is one of these, there must be a destination.)
Documentation generated on Sun, 30 Jan 2011 05:20:10 +0000 by phpDocumentor 1.4.3