Skip to content

Commit c7d0efc

Browse files
authored
Merge pull request #1047 from MrKevinWeiss/pr/doc/commands
Fix doc in docs/features/commands.rst
2 parents d5cebae + 8268401 commit c7d0efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/features/commands.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ without errors), and that ``cmd2`` should prompt the user for more input.
127127
If you return ``True`` from a command method, that indicates to ``cmd2`` that
128128
it should stop prompting for user input and cleanly exit. ``cmd2`` already
129129
includes a ``quit`` command, but if you wanted to make another one called
130-
``finis`` you could::
130+
``finish`` you could::
131131

132132
def do_finish(self, line):
133133
"""Exit the application"""
@@ -156,7 +156,7 @@ system shell::
156156
"""A simple cmd2 application."""
157157

158158
def do_bail(self, line):
159-
"""Exit the application""
159+
"""Exit the application"""
160160
self.perror("fatal error, exiting")
161161
self.exit_code = 2
162162
return true

0 commit comments

Comments
 (0)