diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-11 21:10:50 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-07-11 21:10:50 -0400 |
commit | 9fc9d196b73838842fb2e3e7d9c84d17e1c7fdec (patch) | |
tree | fe085f2fbe53c0c225e2f48866e182c9cee8aaf2 /docs | |
parent | 3869d718b36b05e38cfb959357c209d567fdfb8e (diff) | |
download | cmd2-git-9fc9d196b73838842fb2e3e7d9c84d17e1c7fdec.tar.gz |
Fix a couple minor typos in hooks.rst
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hooks.rst | 6 |
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 |