Attempt to support both cliff 1.2 and 1.3.
Change-Id: I5a5787867af09086c9945ace6f12153b17396bf7
This commit is contained in:
parent
045cd76af3
commit
a7d61bc8aa
@ -27,9 +27,9 @@ class MonikerShell(App):
|
||||
command_manager=CommandManager('moniker.cli'),
|
||||
)
|
||||
|
||||
def build_option_parser(self, description, version, argparse_kwargs=None):
|
||||
def build_option_parser(self, description, version):
|
||||
parser = super(MonikerShell, self).build_option_parser(
|
||||
description, version, argparse_kwargs)
|
||||
description, version)
|
||||
|
||||
parser.add_argument('--os-endpoint',
|
||||
default=os.environ.get('OS_SERVICE_ENDPOINT'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user