diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-28 22:26:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 22:26:34 -0500 |
commit | f8b2407b6079853fdfdd5878480c6883e2c18ded (patch) | |
tree | b715094fcca02b75cd98780eac2b23e18ad3f2ec /docs/features/commands.rst | |
parent | 188f251fa339eda74a97a790ac33b02a18363462 (diff) | |
parent | b329218f3c96398840776b48403323214d7b489b (diff) | |
download | cmd2-git-f8b2407b6079853fdfdd5878480c6883e2c18ded.tar.gz |
Merge branch 'master' into header_tabs
Diffstat (limited to 'docs/features/commands.rst')
-rw-r--r-- | docs/features/commands.rst | 4 |
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 |