intel/dump_gpu: move output option together
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 7 Nov 2018 10:55:04 +0000 (10:55 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 7 Nov 2018 11:27:38 +0000 (11:27 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/intel/tools/intel_dump_gpu.in

index a1d92bb9bfa19b42447c35286243273e91a7afd4..73bef9c337bf8c7b0f0fc5233fcff8c71181ce42 100755 (executable)
@@ -37,11 +37,6 @@ function add_arg() {
 
 while true; do
     case "$1" in
-        -o)
-            file=$2
-            add_arg "file=${file:-$(basename ${file}).aub}"
-            shift 2
-            ;;
         -v)
             add_arg "verbose=1"
             shift 1
@@ -50,6 +45,11 @@ while true; do
             add_arg "verbose=2"
             shift 1
             ;;
+        -o)
+            file=$2
+            add_arg "file=${file:-$(basename ${file}).aub}"
+            shift 2
+            ;;
         -o*)
             file=${1##-o}
             add_arg "file=${file:-$(basename ${file}).aub}"