Explorar el Código

Capture -h and --help to show usage.

master
Chris McCormick hace 5 años
padre
commit
550288534d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      gitnonymous-setup

+ 1
- 1
gitnonymous-setup Ver fichero

@@ -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…
Cancelar
Guardar