From 5ef2b19eb835fcadd038385cae9bd3cb36c4a9af Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 21 Feb 2016 12:38:31 +0100 Subject: complete bash-completion with obsolete command --- bash-completion/mgarepo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bash-completion') diff --git a/bash-completion/mgarepo b/bash-completion/mgarepo index e27f12f..c094956 100755 --- a/bash-completion/mgarepo +++ b/bash-completion/mgarepo @@ -11,7 +11,7 @@ _mgarepo_actions() { COMPREPLY=( $( compgen -W 'co ci sync \ submit putsrpm getspec rpmlog getsrpm maintdb create changed \ - authoremail switch upload del up' -- $cur ) ) + authoremail switch upload del up obsolete' -- $cur ) ) } _mgarepo() @@ -64,6 +64,8 @@ _mgarepo() ;; changed) options="-a -s -M" + obsolete) + options="-m" ;; esac options="$options --help" @@ -78,7 +80,7 @@ _mgarepo() _filedir return 0 ;; - @(co|getspec|rpmlog|getsrpm|changed)) + @(co|getspec|rpmlog|getsrpm|changed|obsolete)) _cauldron_packages return 0 ;; -- cgit v1.2.1