summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_cscope
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-12-04 04:32:03 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-12-04 04:32:03 +0100
commit3e439c3863f14c82f70666804c8570a13b3732e6 (patch)
tree07036c43e0f3f9242bb6dd42cd2a849ec8ea8aca /Completion/Unix/Command/_cscope
parent2aedc4b88fd0e87b89583983951b04b96f48efd3 (diff)
parent7b7e84f0815ed22a0ee348a217776529035dccf3 (diff)
downloadzsh-3e439c3863f14c82f70666804c8570a13b3732e6.tar.gz
zsh-3e439c3863f14c82f70666804c8570a13b3732e6.zip
Merge tag 'zsh-5.2-test-1' into debian
Diffstat (limited to 'Completion/Unix/Command/_cscope')
-rw-r--r--Completion/Unix/Command/_cscope29
1 files changed, 29 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_cscope b/Completion/Unix/Command/_cscope
new file mode 100644
index 000000000..8c3839d10
--- /dev/null
+++ b/Completion/Unix/Command/_cscope
@@ -0,0 +1,29 @@
+#compdef cscope
+
+_arguments -s -S \
+ '-b[build the cross-reference only]' \
+ '-C[ignore letter case when searching]' \
+ "-c[use only ASCII characters in the cross-ref file (don't compress)]" \
+ "-d[don't update the cross-reference]" \
+ '-e[suppress the <Ctrl>-e command prompt between files]' \
+ '-F+[read symbol reference lines from specified file]:symbol-reference file:_files' \
+ '-f+[specify cross-reference file]:cross-reference file [cscope.out]:_files' \
+ '(-)'{-h,--help}'[display help information]' \
+ '*-I+[specify directory to search for #include files]:include directory:_directories' \
+ '-i+[specify file containing a list if files to browse]:file [cscope.file]:_files' \
+ "-k[kernel mode - don't use /usr/include for #include files]" \
+ '-L[do a single search with line-oriented output]' \
+ '-l[line-oriented interface]' \
+ -{0,1,2,3,4,5,6,7,8,9}'+:pattern' \
+ '-P+[prepend path to relative file names in pre-built cross-ref file]:path:_directories' \
+ '-p+[specify number of path components to display]:path components [1]' \
+ '-q[build an inverted index for quick symbol searching]' \
+ '-R[recurse directories for files]' \
+ '-s+[specify directory to search for additional source files]:directory:_directories' \
+ '-T[use only the first eight characters to match against C symbols]' \
+ '-U[check file time stamps]' \
+ '-u[unconditionally build the cross-reference file]' \
+ '-v[be more verbose in line mode]' \
+ '-X[remove the cscope reference file and inverted indexes at end]' \
+ '(-)'{-V,--version}'[display version information]' \
+ '*:file:_files'