]> gitweb.fluxo.info Git - git-hooks.git/commitdiff
Write up correct documentation for when git hooks --help is called.
authorBenjamin C Meyer <ben@meyerhome.net>
Fri, 19 Mar 2010 06:51:58 +0000 (02:51 -0400)
committerBenjamin C Meyer <ben@meyerhome.net>
Fri, 19 Mar 2010 06:51:58 +0000 (02:51 -0400)
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
git-hooks

index da69ca52ac09e2b8a74fc3771810dbacadb8ac1f..9e4e7e2114fa833a5258bfb326740f9f470b8150 100755 (executable)
--- 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