From 976ad96007fbc8edac189737876e485e0cc38e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 15 Dec 2014 12:43:55 +0200 Subject: [PATCH] strings: Fix -T/--target arg completion with non-English locale --- completions/strings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/strings b/completions/strings index 8f47d374..21486313 100644 --- a/completions/strings +++ b/completions/strings @@ -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 ;;