summaryrefslogtreecommitdiff
path: root/docs/features/hooks.rst
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-03-31 14:53:50 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-03-31 15:34:37 -0400
commit06f05261945d706b668c8021a7ae6f8dcd15b9ea (patch)
tree26839ea0e5e4527a795336e6bdbec3a3fa4730b7 /docs/features/hooks.rst
parent5165edec890575682f345fc42f5a53e10ed575b9 (diff)
downloadcmd2-git-error_cleanup.tar.gz
Replaced some pexcept() calls with perror().error_cleanup
Converted some strings to f-strings. Fixed some grammar in error messages and docs. Increased code coverage.
Diffstat (limited to 'docs/features/hooks.rst')
-rw-r--r--docs/features/hooks.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/features/hooks.rst b/docs/features/hooks.rst
index acf9dcc4..881b4e7e 100644
--- a/docs/features/hooks.rst
+++ b/docs/features/hooks.rst
@@ -207,7 +207,7 @@ with the :data:`~cmd2.plugin.PostparsingData.stop` attribute set to ``True``:
Precommand Hooks
----------------
-Precommand hooks can modify the user input, but can not request the application
+Precommand hooks can modify the user input, but cannot request the application
terminate. If your hook needs to be able to exit the application, you should
implement it as a postparsing hook.