switch for 'all' to (re)compile qc only
authornyov <nyov@nexnode.net>
Thu, 13 Nov 2014 10:10:54 +0000 (10:10 +0000)
committernyov <nyov@nexnode.net>
Thu, 13 Nov 2014 10:14:44 +0000 (10:14 +0000)
misc/tools/all/xonotic.subr

index 56c1418a7df7a9c3433024033bf6ea63ae1f1490..3aa15837fcee39af4d5baeff43e78d056d7a249a 100644 (file)
@@ -45,6 +45,10 @@ case "$cmd" in
                                        cleanqc=true
                                        shift
                                        ;;
                                        cleanqc=true
                                        shift
                                        ;;
+                               -qc)
+                                       cleanqc=true
+                                       shift
+                                       ;;
                                -r|-p)
                                        case "$1" in
                                                -p)
                                -r|-p)
                                        case "$1" in
                                                -p)
@@ -346,7 +350,7 @@ case "$cmd" in
                fi
                ;;
        help)
                fi
                ;;
        help)
-               $ECHO "  $SELF compile [-c] [-r|-p] [-0] [sdl|glx|wgl|dedicated]"
+               $ECHO "  $SELF compile [-c] [-qc] [-r|-p] [-0] [sdl|glx|wgl|dedicated]"
                $ECHO "  $SELF update-maps"
                $ECHO "  $SELF run [sdl|glx|wgl|dedicated] options..."
                $ECHO "  $SELF compile-map mapname1 mapname2... (e.g. \"./all compile-map dance drain fuse\")"
                $ECHO "  $SELF update-maps"
                $ECHO "  $SELF run [sdl|glx|wgl|dedicated] options..."
                $ECHO "  $SELF compile-map mapname1 mapname2... (e.g. \"./all compile-map dance drain fuse\")"