[Rpm-metadata] createrepo.bash

Ville Skyttä scop at osuosl.org
Fri Jul 29 20:09:17 UTC 2011


 createrepo.bash |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 61d46f08ff0ceaff4cfd26072c61e4fc6a1f9055
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 29 23:09:08 2011 +0300

    Add --remove to modifyrepo completion.

diff --git a/createrepo.bash b/createrepo.bash
index 4222fa0..0ee7a04 100644
--- a/createrepo.bash
+++ b/createrepo.bash
@@ -85,7 +85,8 @@ _cr_modifyrepo()
     esac
 
     if [[ $2 == -* ]] ; then
-        COMPREPLY=( $( compgen -W '--version --help --mdtype' -- "$2" ) )
+        COMPREPLY=( $( compgen -W '--version --help --mdtype --remove' \
+            -- "$2" ) )
         return 0
     fi
 


More information about the Rpm-metadata mailing list