"""
"""
- def __init__(self, script_info, options):#{{{
+ def __init__(self, script_info, child_options):#{{{
self.parser = None
self.cli_options = dict({})
self.cli_args = dict({})
self.info = dict(script_info)
- self.options = list(options + OPTS)
+ # options allows to add new cli options within child objects calling
+ # parent __init__()
+ self.options = list(child_options + OPTS)
self.main()#}}}
def declare_opts(self):#{{{