Revision eb46e9a1 kamaki/cli/commands/history.py
b/kamaki/cli/commands/history.py | ||
---|---|---|
171 | 171 |
if not cmd.is_command: |
172 | 172 |
return |
173 | 173 |
try: |
174 |
instance = cmd.get_class()(
|
|
174 |
instance = cmd.cmd_class(
|
|
175 | 175 |
self.arguments, |
176 | 176 |
auth_base=getattr(self, 'auth_base', None)) |
177 | 177 |
instance.config = self.config |
... | ... | |
180 | 180 |
dict(instance.arguments)) |
181 | 181 |
prs.syntax = '%s %s' % ( |
182 | 182 |
cmd.path.replace('_', ' '), |
183 |
cmd.get_class().syntax)
|
|
183 |
cmd.cmd_class.syntax)
|
|
184 | 184 |
prs.parse(args) |
185 | 185 |
exec_cmd(instance, prs.unparsed, prs.parser.print_help) |
186 | 186 |
except (CLIError, ClientError) as err: |
Also available in: Unified diff