intel/dump_gpu: move output option together
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
0a0aa2ba6c
commit
e262cc0353
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue