add cmd_name argument to CompleteCommand
Add the argument so callers will pass it. Change-Id: Ic2144296de1840de75835eb89fd8145f5ef80e28 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
4a91773315
commit
cdc5c0ce24
|
@ -167,8 +167,8 @@ class CompleteCommand(command.Command):
|
|||
|
||||
log = logging.getLogger(__name__ + '.CompleteCommand')
|
||||
|
||||
def __init__(self, app, app_args):
|
||||
super(CompleteCommand, self).__init__(app, app_args)
|
||||
def __init__(self, app, app_args, cmd_name=None):
|
||||
super(CompleteCommand, self).__init__(app, app_args, cmd_name)
|
||||
self._formatters = stevedore.ExtensionManager(
|
||||
namespace='cliff.formatter.completion',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue