2002-07-22 23:31:44 +02:00
|
|
|
#compdef global
|
|
|
|
|
|
|
|
_arguments \
|
|
|
|
'(--completion)-c[completion on prefix]:prefix:' \
|
|
|
|
'(-c)--completion:prefix:' \
|
|
|
|
'(--file)-f[print function definitions in file]' \
|
|
|
|
'(-f)--file' \
|
|
|
|
'(--grep)-g[print all lines which match pattern using grep]:pattern' \
|
|
|
|
'(-g)--grep' \
|
|
|
|
'(--idutils)-I[print all lines which match pattern using id-utils]:pattern' \
|
|
|
|
'(-I)--idutils' \
|
|
|
|
'(--print-dbpath)-p[print location of GTAGS]' \
|
|
|
|
'(-p)--print-dbpath' \
|
|
|
|
'(--path)-P[print paths matching pattern]:pattern:' \
|
|
|
|
'(-P)--path' \
|
|
|
|
'(--update)-u[locate tag files and update incrementally]' \
|
|
|
|
'(-u)--update' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--absolute)-a[print absolute path names]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-a)--absolute' \
|
|
|
|
'(--ignore-case)-i[ignore case in patterns]' \
|
|
|
|
'(-i)--ignore-case' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--local)-l[print just objects which exist under the current directory]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-l)--local' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--nofilter)-n[suppress sort filter and path conversion filter]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-n)--nofilter' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--other)-o[search in other files, not just source files (with -g)]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-o)--other' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--quiet)-q[quiet mode]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-q)--quiet' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--reference --rootdir)-r[find object references instead of definitions]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-r --rootdir)--rereference' \
|
|
|
|
'(-r --reference)--rootdir' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--symbol)-s[find symbols instead of function names]:pattern:' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-s)--symbol' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--tags)-t[output in standard ctags format]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-t)--tags' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--through -s -r -l)-T[search through all tag files in GTAGSLIBPATH]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-T -s -r -l)--through' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--verbose)-v[verbose mode]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-v)--verbose' \
|
2003-03-12 05:43:46 +01:00
|
|
|
'(--cxref)-x[in addition to default output, list line number and contents]' \
|
2002-07-22 23:31:44 +02:00
|
|
|
'(-x)--cxref' \
|
|
|
|
'--version:show version number:' \
|
|
|
|
'--help:show help:' \
|
|
|
|
':word:_global_tags'
|