intel/dump_gpu: fix --platform option

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2201>
This commit is contained in:
Lionel Landwerlin 2020-03-04 17:38:48 +02:00 committed by Marge Bot
parent 9f0db069d3
commit a6a5b0e52e
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ while true; do
shift
;;
--platform=*)
platform=${1##-p}
platform=${1##--platform=}
add_arg "platform=${platform}"
shift
;;