diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-02-21 12:38:31 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-02-21 12:38:31 +0100 |
commit | 5ef2b19eb835fcadd038385cae9bd3cb36c4a9af (patch) | |
tree | c44a77ca1d486adae518a330e0baaa5ea860acda /bash-completion | |
parent | eeb0721539c3e389fde2a65b8406392a83473e63 (diff) | |
download | mgarepo-5ef2b19eb835fcadd038385cae9bd3cb36c4a9af.tar mgarepo-5ef2b19eb835fcadd038385cae9bd3cb36c4a9af.tar.gz mgarepo-5ef2b19eb835fcadd038385cae9bd3cb36c4a9af.tar.bz2 mgarepo-5ef2b19eb835fcadd038385cae9bd3cb36c4a9af.tar.xz mgarepo-5ef2b19eb835fcadd038385cae9bd3cb36c4a9af.zip |
complete bash-completion with obsolete command
Diffstat (limited to 'bash-completion')
-rwxr-xr-x | bash-completion/mgarepo | 6 |
1 files changed, 4 insertions, 2 deletions
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 ;; |