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 --- ChangeLog | 5 +++++ Completion/Debian/Command/_axi-cache | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ad3cb66d..260776320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-07-03 Axel Beckert + + * Felipe Sateler: 32819: Completion/Debian/Command/_axi-cache: + Update for axi-cache completion. + 2014-07-03 Mikael Magnusson * 32821: Completion/Unix/Command/_gcc: Update _gcc as of GCC 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