strings: Fix -T/--target arg completion with non-English locale
This commit is contained in:
parent
6a60025e01
commit
976ad96007
@ -14,7 +14,7 @@ _strings()
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
-T|--target)
|
-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" ) )
|
sed -ne "s/: supported targets: \(.*\)/\1/p" )' -- "$cur" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user