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:
Doug Hellmann 2017-05-25 18:35:39 -04:00
parent 4a91773315
commit cdc5c0ce24
1 changed files with 2 additions and 2 deletions

View File

@ -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',
)