From 0b62bde088d0ee5b1b2e3a54582bf01dae80a164 Mon Sep 17 00:00:00 2001 From: Felipe Sateler Date: Sat, 28 Jun 2014 15:59:20 +0200 Subject: 32819: Update for axi-cache completion Add some subcommands and to disable file name completion for the subcommands info and help. Initially submitted to Debian at https://bugs.debian.org/729921 --- Completion/Debian/Command/_axi-cache | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Completion') diff --git a/Completion/Debian/Command/_axi-cache b/Completion/Debian/Command/_axi-cache index 0c137c700..bdefdd979 100644 --- a/Completion/Debian/Command/_axi-cache +++ b/Completion/Debian/Command/_axi-cache @@ -11,10 +11,11 @@ _arguments \ if (( CURRENT == 2 )); then _wanted tag expl 'axi-cache commands' \ - compadd help search more last show again + compadd help search more last show again info \ + rdetails depends madison policy showpkg showsrc else case "$words[2]" in - (search|show|again) + (search|show|again|rdetails|depends|madison|policy|showpkg|showsrc) _wanted tag expl 'terms/query' \ compadd -- $($service $words[2] --tabcomplete=plain -- $words[CURRENT]) ;; @@ -22,6 +23,9 @@ else _wanted tag expl 'count' \ compadd -- 1 2 3 4 5 6 7 8 9 0 ;; + (help|info) + # no args + ;; (*) _files ;; -- cgit 1.4.1