summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_ldd
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2012-11-11 22:18:16 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2012-11-11 22:18:16 +0000
commit3f8decaf7d178c90ef6277a749f1b721f383e65b (patch)
tree23fdd9c043ee6f92307384c165fc8895e2090a1c /Completion/Unix/Command/_ldd
parentcba5449c3d4d140af05b7a6d726afbbab2f55f31 (diff)
downloadzsh-3f8decaf7d178c90ef6277a749f1b721f383e65b.tar.gz
zsh-3f8decaf7d178c90ef6277a749f1b721f383e65b.zip
30793: account for eglibc in _pick_variant patterns
Diffstat (limited to 'Completion/Unix/Command/_ldd')
-rw-r--r--Completion/Unix/Command/_ldd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ldd b/Completion/Unix/Command/_ldd
index d59294717..0980bc043 100644
--- a/Completion/Unix/Command/_ldd
+++ b/Completion/Unix/Command/_ldd
@@ -1,12 +1,12 @@
#compdef ldd
-if _pick_variant gnu=GNU solaris --version; then
+if _pick_variant gnu='(GNU|EGLIBC)' solaris --version; then
args=(
'(- *)--version[display version information]'
'(- *)--help[display help information]'
'(-v --verbose)'{-v,--verbose}'[include symbol versioning information]'
'(-d --data-relocs)'{-d,--data-relocs}'[perform data relocations and report missing objects]'
- '(-f --function-relocs)'{-f,--function-relocs}'[perform data/function relocations and report missing objects]'
+ '(-r --function-relocs)'{-r,--function-relocs}'[perform data/function relocations and report missing objects]'
'(-u --unused)'{-u,--unused}'[display any unused objects]'
)
else