Make error message in contains function translatable

darcs-hash:20060202153304-ac50b-69fc557308b7ae7eb3a3d8d658e6f7c871aa68cd.gz
This commit is contained in:
axel 2006-02-03 01:33:04 +10:00
parent fbe66f54aa
commit 91b46b305d

View file

@ -18,8 +18,8 @@ function contains -d "Test if a key is contained in a set of values"
break
case '-*'
echo Unknown option $argv[$i]
_contains_help
printf (_ "%s: Unknown option '%s'\n") contains $argv[$i]
help contains
return 1
case '*'