Fix --help parsing.
authorMichael Prokop <mika@grml.org>
Thu, 2 Dec 2010 14:12:27 +0000 (15:12 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 2 Dec 2010 14:15:22 +0000 (15:15 +0100)
grml-debootstrap

index 3de158f..fe1b22b 100755 (executable)
@@ -82,7 +82,7 @@ Send bugreports to the grml-team: bugs (at) grml.org || http://grml.org/bugs/
 "
 }
 
-if [ "$1" = '-h' ] || [ "$1" = '-help' ] ; then
+if [ "$1" = '-h' ] || [ "$1" = '-help' ] || [ "$1" = "--help" ] ; then
    usage
    echo 'Please notice that this script requires root permissions!'
    exit 0