From: Lionel Landwerlin Date: Wed, 4 Mar 2020 15:38:48 +0000 (+0200) Subject: intel/dump_gpu: fix --platform option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6a5b0e52eb954aa5f91ee5d748c25c983abb438;p=mesa.git intel/dump_gpu: fix --platform option Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- diff --git a/src/intel/tools/intel_dump_gpu.in b/src/intel/tools/intel_dump_gpu.in index 3efa0d4c76e..0395af0a8eb 100755 --- a/src/intel/tools/intel_dump_gpu.in +++ b/src/intel/tools/intel_dump_gpu.in @@ -82,7 +82,7 @@ while true; do shift ;; --platform=*) - platform=${1##-p} + platform=${1##--platform=} add_arg "platform=${platform}" shift ;;