summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-02 10:33:46 -0500
committerGitHub <noreply@github.com>2021-01-02 10:33:46 -0500
commit779aa0e9aa4b59a4f865e797ee0b5b70052a11e0 (patch)
tree77705419f1be379bca55001f86a23c5927c3afaa
parent03c65c60b39e369958b056c5c844d36d515c8a63 (diff)
parent9ee1d838877faf4c90c43bff49da5ce24881991d (diff)
downloadcmd2-git-779aa0e9aa4b59a4f865e797ee0b5b70052a11e0.tar.gz
Merge pull request #1032 from klieret/master
Fix wrong superclass in doc
-rw-r--r--docs/features/shortcuts_aliases_macros.rst2
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'})