Options properties handling.

Functions

 argsparse_has_option_property (option, property)
 Determine if an option has a property.
 argsparse_set_option_property (property, option...)
 Enable a property to a list of options.

Variables

String AssociativeArray __argsparse_options_default_values
 Internal use only.
String AssociativeArray __argsparse_options_properties
 Internal use only.

Function Documentation

argsparse_has_option_property ( option  ,
property   
)

Determine if an option has a property.

Return True if property has been set for given option, and print the property value, if available.

Parameters:
option an option name.
property a property name.
Return values:
0 if option has given property.
argsparse_set_option_property ( property  ,
option...   
)

Enable a property to a list of options.

Parameters:
property a property name.
option... option names.
Returns:
non-zero if property is not supported.

Variable Documentation

String AssociativeArray __argsparse_options_default_values

Internal use only.

An associative array where options default values are stored as soon as the 'default:' property is set.

 All Files Functions Variables

Generated on 6 Mar 2015 for The Bash Argsparse Library by  doxygen 1.6.1