strings: Fix -T/--target arg completion with non-English locale
parent
6a60025e01
commit
976ad96007
|
@ -14,7 +14,7 @@ _strings()
|
|||
return
|
||||
;;
|
||||
-T|--target)
|
||||
COMPREPLY=( $( compgen -W '$( "$1" --help 2>/dev/null | \
|
||||
COMPREPLY=( $( compgen -W '$( LC_ALL=C "$1" --help 2>/dev/null | \
|
||||
sed -ne "s/: supported targets: \(.*\)/\1/p" )' -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue