diff options
author | Kilian <kilian.lieret@posteo.de> | 2021-01-02 12:19:40 +0100 |
---|---|---|
committer | Kilian <kilian.lieret@posteo.de> | 2021-01-02 12:19:40 +0100 |
commit | 9ee1d838877faf4c90c43bff49da5ce24881991d (patch) | |
tree | 77705419f1be379bca55001f86a23c5927c3afaa /docs | |
parent | 03c65c60b39e369958b056c5c844d36d515c8a63 (diff) | |
download | cmd2-git-9ee1d838877faf4c90c43bff49da5ce24881991d.tar.gz |
Fix wrong superclass in doc
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'}) |