diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2010-03-19 02:51:58 -0400 |
---|---|---|
committer | Benjamin C Meyer <ben@meyerhome.net> | 2010-03-19 02:51:58 -0400 |
commit | da0d26a06df19db6100d88bc3f8e231ef92f926e (patch) | |
tree | 39ec9c27c8a64c4edc5d05bb5cdea849701f371f | |
parent | 539cb1585458a4b8cde50bd2cf0f897e9e5c99cf (diff) | |
download | git-hooks-da0d26a06df19db6100d88bc3f8e231ef92f926e.tar.gz git-hooks-da0d26a06df19db6100d88bc3f8e231ef92f926e.tar.bz2 |
Write up correct documentation for when git hooks --help is called.
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
-rwxr-xr-x | git-hooks | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -136,13 +136,15 @@ case $1 in install_hooks "$1" ;; -h|--help ) - echo "Git Hooks" - echo "" - echo "Options:" - echo " --install Show all achievements." - echo " --uninstall Publish existing achievements and push to origin." - echo " run [cmd] Run the hooks for cmd such as pre-commit" - echo " (no arguments) Show current hooks" + echo 'Git Hooks' + echo '' + echo 'Options:' + echo ' --install Replace existing hooks in this repository with a call to' + echo ' git hooks run [hook]. Move old hooks directory to hooks.old' + echo ' --uninstall Remove existing hooks in this repository and rename hooks.old' + echo ' back to hooks' + echo " run [cmd] Run the hooks for cmd (such as pre-commit)" + echo " (no arguments) Show currently installed hooks" ;; * ) list_hooks |