diff options
author | Zearin <zearin@gonk.net> | 2014-04-28 15:07:15 -0400 |
---|---|---|
committer | Zearin <zearin@gonk.net> | 2014-04-28 15:07:15 -0400 |
commit | 5880158d39bf29afd22b6b65244d9d33ce683624 (patch) | |
tree | a65ff0fbc40f4db0799064c5f452971eb4b5c1a6 | |
parent | e3b010c23bac87ca13fc8bd1377951e8b20726c1 (diff) | |
download | git-hooks-5880158d39bf29afd22b6b65244d9d33ce683624.tar.gz git-hooks-5880158d39bf29afd22b6b65244d9d33ce683624.tar.bz2 |
Update `--help` output
* No longer using `--severalunseparatewords` (but still accepts them for backwards compatibility)
* Use `<angled brackets>` for mandatory arguments (`[square brackets]` are for optional arguments)
-rwxr-xr-x | git-hooks | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 <cmd> Run the hooks for <cmd> (such as pre-commit)" echo " (no arguments) Show currently installed hooks" ;; * ) |