From 5880158d39bf29afd22b6b65244d9d33ce683624 Mon Sep 17 00:00:00 2001 From: Zearin Date: Mon, 28 Apr 2014 15:07:15 -0400 Subject: Update `--help` output * No longer using `--severalunseparatewords` (but still accepts them for backwards compatibility) * Use `` for mandatory arguments (`[square brackets]` are for optional arguments) --- git-hooks | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/git-hooks b/git-hooks index ed1e66f..096ae31 100755 --- a/git-hooks +++ b/git-hooks @@ -205,10 +205,10 @@ case $1 in --install|--uninstall ) install_hooks "$1" ;; - --installglobal ) + --install-global|--installglobal ) install_global ;; - --uninstallglobal ) + --uninstall-global|--uninstallglobal ) uninstall_global ;; -h|--help|-? ) @@ -221,13 +221,13 @@ case $1 in 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 ' --installglobal' + echo ' --install-global' echo ' Create a template .git directory that that will be used whenever' echo ' a git repository is created or cloned that will remind the user' echo ' to install git-hooks.' - echo ' --uninstallglobal' + echo ' --uninstall-global' echo ' Turn off the global .git directory template that has the reminder.' - echo " run [cmd] Run the hooks for cmd (such as pre-commit)" + echo " run Run the hooks for (such as pre-commit)" echo " (no arguments) Show currently installed hooks" ;; * ) -- cgit v1.2.3