diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-01-22 14:53:33 -0500 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-01-22 14:53:33 -0500 |
| commit | 45580056485328338899dd65607c6c57d3797f35 (patch) | |
| tree | 4cb6a10485b440e0b23eb638764fc2ff14faa974 /docs | |
| parent | 49fac04513727a67b0360a9e7560087c64dd557d (diff) | |
| parent | a3b1b6ddf81cdc0b253f15feeb167ff348afd14f (diff) | |
| download | cmd2-git-45580056485328338899dd65607c6c57d3797f35.tar.gz | |
Merge branch 'master' into 2.0
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/features/shortcuts_aliases_macros.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/features/shortcuts_aliases_macros.rst b/docs/features/shortcuts_aliases_macros.rst index e5b4bf1d..58d6d83c 100644 --- a/docs/features/shortcuts_aliases_macros.rst +++ b/docs/features/shortcuts_aliases_macros.rst @@ -24,7 +24,7 @@ defined: To define more shortcuts, update the dict ``App.shortcuts`` with the {'shortcut': 'command_name'} (omit ``do_``):: - class App(Cmd2): + class App(Cmd): def __init__(self): shortcuts = dict(cmd2.DEFAULT_SHORTCUTS) shortcuts.update({'*': 'sneeze', '~': 'squirm'}) |
