1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-02 06:40:55 +01:00

30793: account for eglibc in _pick_variant patterns

This commit is contained in:
Oliver Kiddle 2012-11-11 22:18:16 +00:00
parent cba5449c3d
commit 3f8decaf7d
4 changed files with 13 additions and 6 deletions

View file

@ -5,12 +5,13 @@ local services databases keys
local -a args
typeset -A opt_args
if _pick_variant -r is_gnu gnu=GNU unix --version; then
if _pick_variant -r is_gnu gnu='(GNU|EGLIBC)' unix --version; then
args+=(
'(- 1 *)'{-\?,--help}'[display help information]'
'(- 1 *)--usage[display a short usage message]'
'(- 1 *)'{-V,--version}'[display version information]'
{-s,--service=}'[specify service configuration to use]:service:->services'
'(-i --no-idn)'{-i,--no-idn}'[disable IDN encoding]'
)
fi