aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbash-completion/mgarepo14
1 files changed, 7 insertions, 7 deletions
diff --git a/bash-completion/mgarepo b/bash-completion/mgarepo
index 7689d2b..7440e64 100755
--- a/bash-completion/mgarepo
+++ b/bash-completion/mgarepo
@@ -54,8 +54,8 @@ _mgarepo()
sync)
options="-c --dry-run --download"
;;
- submit)
- options="-t -l -r -s -i -a --distro --define"
+ submit)
+ options="-t -l -r -s -i -a --distro --define"
;;
putsrpm|import)
options="-l -t -b -d -c -s -n"
@@ -63,10 +63,10 @@ _mgarepo()
getsrpm)
options="-c -p -v -r -t -P -s -n -l -T -M --strict"
;;
- changed)
+ changed)
options="-a -s -M"
;;
- markrelease)
+ markrelease)
options="-f -r -v -n"
;;
obsolete)
@@ -77,7 +77,7 @@ _mgarepo()
COMPREPLY=( $( compgen -W "$options" -- $cur ) )
else
case $command in
- putsrpm)
+ putsrpm|import)
_filedir 'src.rpm'
return 0
;;
@@ -85,7 +85,7 @@ _mgarepo()
_filedir
return 0
;;
- @(co|getspec|rpmlog|getsrpm|changed|obsolete))
+ @(co|checkout|getspec|rpmlog|getsrpm|changed|obsolete))
_cauldron_packages
return 0
;;
@@ -93,7 +93,7 @@ _mgarepo()
COMPREPLY=( $( compgen -W "get set" -- $cur ) )
return 0
;;
- @(sync|ci))
+ @(sync|ci|commit))
_filedir -d
return 0
;;