1
2
3
4
5
6
7
8
9
10
11
| | #compdef ldd
# ldd seems like it should support option stacking... but it does not
_arguments -A '-*' -S : \
'(-d -r --data-relocs --function-relocs)'{-d,--data-relocs}'[process data relocations]' \
'(: -)--help[display help information]' \
'(-d -r --data-relocs --function-relocs)'{-r,--function-relocs}'[process data and function relocations]' \
'(-u --unused)'{-u,--unused}'[display unused direct dependencies]' \
'(-v --verbose)'{-v,--verbose}'[output verbosely]' \
'(: -)--version[display version information]' \
'(x)*:object file:_object_files'
|