|
__init__(self,
option_table=None) |
|
|
|
|
|
set_option_table(self,
option_table) |
|
|
|
add_option(self,
long_option,
short_option=None,
help_string=None) |
|
|
|
has_option(self,
long_option)
Return true if the option table for this parser has an option with
long name 'long_option'. |
|
|
|
get_attr_name(self,
long_option)
Translate long option name 'long_option' to the form it has as an
attribute of some object: ie., translate hyphens to underscores. |
|
|
|
_check_alias_dict(self,
aliases,
what) |
|
|
|
set_aliases(self,
alias)
Set the aliases for this option parser. |
|
|
|
|
|
_grok_option_table(self)
Populate the various data structures that keep tabs on the option
table. |
|
|
|
getopt(self,
args=None,
object=None)
Parse command-line options in args. |
|
|
|
get_option_order(self)
Returns the list of (option, value) tuples processed by the previous
run of 'getopt()'. |
|
|
|
generate_help(self,
header=None)
Generate help text (a list of strings, one per suggested line of
output) from the option table for this FancyGetopt object. |
|
|
|
print_help(self,
header=None,
file=None) |
|
|