strings: Fix -T/--target arg completion with non-English locale

master
Ville Skyttä 2014-12-15 12:43:55 +02:00
parent 6a60025e01
commit 976ad96007
1 changed files with 1 additions and 1 deletions

View File

@ -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
;;