also support --help
authorRudolf Polzer <divverent@alientrap.org>
Sat, 21 Aug 2010 13:44:52 +0000 (15:44 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 21 Aug 2010 13:44:52 +0000 (15:44 +0200)
misc/tools/rebrand-darkplaces-engine.sh

index 6f6a76921336aa9b810ee8cde9b0ec8c88f36992..9c785ff432001827f0963752dc9424f42d87401e 100755 (executable)
@@ -11,7 +11,7 @@ icon_icns=Darkplaces.app/Contents/Resources/Darkplaces.icns
 icon_ico=darkplaces.ico
 icon_xpm=darkplaces.xpm
 
-if [ -z "$1" ]; then
+if [ -z "$1" ] || [ x"$1" = x"--help" ]; then
        echo "Usage: $0 brandfile binaries..."
        exit
 fi