From da0d26a06df19db6100d88bc3f8e231ef92f926e Mon Sep 17 00:00:00 2001 From: Benjamin C Meyer Date: Fri, 19 Mar 2010 02:51:58 -0400 Subject: Write up correct documentation for when git hooks --help is called. Signed-off-by: Benjamin C Meyer --- git-hooks | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/git-hooks b/git-hooks index da69ca5..9e4e7e2 100755 --- a/git-hooks +++ b/git-hooks @@ -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 -- cgit v1.2.3