summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-28 22:07:18 -0500
committerGitHub <noreply@github.com>2021-01-28 22:07:18 -0500
commitc7d0efc41dc5ec215ec6833e646397e232700f71 (patch)
treeea88de7a27c3b71ed1295e96b1c72f260d98747a
parentd5cebaef06719fdc01eba15e01fb70ef948e05c9 (diff)
parent8268401838167decd02c38f39bd94355333ab077 (diff)
downloadcmd2-git-c7d0efc41dc5ec215ec6833e646397e232700f71.tar.gz
Merge pull request #1047 from MrKevinWeiss/pr/doc/commands
Fix doc in docs/features/commands.rst
-rw-r--r--docs/features/commands.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/features/commands.rst b/docs/features/commands.rst
index 8e61a472..cc603f70 100644
--- a/docs/features/commands.rst
+++ b/docs/features/commands.rst
@@ -127,7 +127,7 @@ without errors), and that ``cmd2`` should prompt the user for more input.
If you return ``True`` from a command method, that indicates to ``cmd2`` that
it should stop prompting for user input and cleanly exit. ``cmd2`` already
includes a ``quit`` command, but if you wanted to make another one called
-``finis`` you could::
+``finish`` you could::
def do_finish(self, line):
"""Exit the application"""
@@ -156,7 +156,7 @@ system shell::
"""A simple cmd2 application."""
def do_bail(self, line):
- """Exit the application""
+ """Exit the application"""
self.perror("fatal error, exiting")
self.exit_code = 2
return true