Browse Source

Capture -h and --help to show usage.

master
Chris McCormick 5 years ago
parent
commit
550288534d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      gitnonymous-setup

+ 1
- 1
gitnonymous-setup View File

@@ -20,7 +20,7 @@ sshfile="${confdir}/ssh/id_rsa"
20 20
 configfile="${confdir}/config"
21 21
 sshwrapperfile="${confdir}/git-ssh-wrap"
22 22
 
23
-if [ "$1" = "" ]
23
+if [ "$1" = "" -o '-h' = "$1" -o '--help' = "$1" ]
24 24
 then
25 25
   echo "Usage: $0 KEYNAME"
26 26
 else

Loading…
Cancel
Save