From 616f79f776477d2c8b2e5e31a0c54aa665f81305 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 6 May 2016 20:46:46 +1000 Subject: [PATCH] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34c79eb8..538add92 100644 --- a/README.md +++ b/README.md @@ -657,7 +657,7 @@ command.SetUsageTemplate(s string) ## PreRun or PostRun Hooks -It is possible to run functions before or after the main `Run` function of your command. The `PersistentPreRun` and `PreRun` functions will be executed before `Run`. `PersistentPostRun` and `PostRun` will be executed after `Run`. The `Persistent*Run` functions will be inherrited by children if they do not declare their own. These function are run in the following order: +It is possible to run functions before or after the main `Run` function of your command. The `PersistentPreRun` and `PreRun` functions will be executed before `Run`. `PersistentPostRun` and `PostRun` will be executed after `Run`. The `Persistent*Run` functions will be inherited by children if they do not declare their own. These function are run in the following order: - `PersistentPreRun` - `PreRun`