Package lemon :: Package external :: Package Cheetah :: Package Tests :: Module CheetahWrapper :: Class MyOptionParser
[show private | hide private]
[frames | no frames]

Class MyOptionParser

OptionParser --+
               |
              MyOptionParser


Disable the standard --help and --verbose options since
--help is used for another purpose.

Method Summary
    Inherited from OptionParser
  __init__(self, usage, option_list, option_class, version, conflict_handler)
  add_option(self, *args, **kwargs)
add_option(Option)...
  add_options(self, option_list)
  check_values(self, values, args)
check_values(values : Values, args : [string]) -> (values : Values, args : [string]) Check that the supplied option values and leftover arguments are valid.
  disable_interspersed_args(self)
  enable_interspersed_args(self)
  error(self, msg)
  get_option(self, opt_str)
  has_option(self, opt_str)
  parse_args(self, args, values)
parse_args(args : [string] = sys.argv[1:], values : Values = None) -> (values : Values, args : [string]) Parse the command-line options found in 'args' (default: sys.argv[1:]).
  print_help(self, file)
  print_usage(self, file)
  print_version(self, file)
  remove_option(self, opt_str)
  set_conflict_handler(self, handler)
  set_default(self, dest, value)
  set_defaults(self, **kwargs)
  set_usage(self, usage)

Class Variable Summary
list standard_option_list = []

Class Variable Details

standard_option_list

Type:
list
Value:
[]                                                                     

Generated by Epydoc 2.0 on Mon Nov 10 15:08:29 2003 http://epydoc.sf.net