summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/hooks.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/hooks.rst b/docs/hooks.rst
index 0ec5d7e9..caeef75b 100644
--- a/docs/hooks.rst
+++ b/docs/hooks.rst
@@ -94,7 +94,7 @@ of your application. Methods registered for a hook are called in the order they
were registered. You can register a function more than once, and it will be
called each time it was registered.
-Postparsing, precomamnd, and postcommand hook methods share some common ways to
+Postparsing, precommand, and postcommand hook methods share some common ways to
influence the command processing loop.
If a hook raises a ``cmd2.EmptyStatement`` exception:
@@ -113,7 +113,7 @@ Postparsing Hooks
^^^^^^^^^^^^^^^^^
Postparsing hooks are called after the user input has been parsed but before
-execution of the comamnd. These hooks can be used to:
+execution of the command. These hooks can be used to:
- modify the user input
- run code before every command executes
@@ -327,4 +327,4 @@ the various hook methods, presented in chronological order starting with the one
.. automethod:: cmd2.cmd2.Cmd.postcmd
-.. automethod:: cmd2.cmd2.Cmd.postparsing_postcmd \ No newline at end of file
+.. automethod:: cmd2.cmd2.Cmd.postparsing_postcmd