Revision 50a32c37 kamaki/cli/command_shell.py
b/kamaki/cli/command_shell.py | ||
---|---|---|
307 | 307 |
self.auth_base = auth_base |
308 | 308 |
self.cloud = cloud |
309 | 309 |
self._parser = parser |
310 |
self._history = History( |
|
311 |
parser.arguments['config'].get('global', 'history_file')) |
|
310 |
cnf = parser.arguments['config'] |
|
311 |
self._history = History(cnf.get('global', 'history_file')) |
|
312 |
self._history.limit = cnf.get('global', 'history_limit') |
|
312 | 313 |
if path: |
313 | 314 |
cmd = self.cmd_tree.get_command(path) |
314 | 315 |
intro = cmd.path.replace('_', ' ') |
Also available in: Unified diff