aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion/mgarepo
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/mgarepo')
-rwxr-xr-xbash-completion/mgarepo9
1 files changed, 5 insertions, 4 deletions
diff --git a/bash-completion/mgarepo b/bash-completion/mgarepo
index c6a335c..7689d2b 100755
--- a/bash-completion/mgarepo
+++ b/bash-completion/mgarepo
@@ -11,7 +11,8 @@ _mgarepo_actions()
{
COMPREPLY=( $( compgen -W 'co ci sync \
submit putsrpm getspec rpmlog getsrpm maintdb create changed \
- authoremail switch markrelease upload del up obsolete' -- $cur ) )
+ authoremail switch markrelease upload del up obsolete checkout \
+ commit import' -- $cur ) )
}
_mgarepo()
@@ -43,11 +44,11 @@ _mgarepo()
if [[ "$cur" == -* ]]; then
# possible options for the command
case $command in
- co)
+ co|checkout)
options="-r --distribution \
--branch --spec --no-mirror"
;;
- ci)
+ ci|commit)
options="-m -F"
;;
sync)
@@ -56,7 +57,7 @@ _mgarepo()
submit)
options="-t -l -r -s -i -a --distro --define"
;;
- putsrpm)
+ putsrpm|import)
options="-l -t -b -d -c -s -n"
;;
getsrpm)