createrepo.bash

[email protected] (Ville Skytt??) Fri, 29 Jul 2011 20:09:17 +0000 (UTC)
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 createrepo.bash |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 61d46f08ff0ceaff4cfd26072c61e4fc6a1f9055
Author: Ville Skyttä <[email protected]>
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

_______________________________________________
Rpm-metadata mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/rpm-metadata