Ville SkyttÀ
2011-07-28 18:03:06 UTC
createrepo.bash | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 377318ac5de5a402f8ce537b4ac9d5c64e6286af
Author: Ville SkyttÀ <***@iki.fi>
Date: Thu Jul 28 21:01:23 2011 +0300
Add --retain-old-md bash completion.
diff --git a/createrepo.bash b/createrepo.bash
index 54ac8b2..4222fa0 100644
--- a/createrepo.bash
+++ b/createrepo.bash
@@ -30,6 +30,10 @@ _cr_createrepo()
COMPREPLY=( $( compgen -f -o plusdirs -X '!*.rpm' -- "$2" ) )
return 0
;;
+ --retain-old-md)
+ COMPREPLY=( $( compgen -W '0 1 2 3 4 5 6 7 8 9' -- "$2" ) )
+ return 0
+ ;;
--num-deltas)
COMPREPLY=( $( compgen -W '1 2 3 4 5 6 7 8 9' -- "$2" ) )
return 0
@@ -42,8 +46,8 @@ _cr_createrepo()
--cachedir --checkts --no-database --update --update-md-path
--skip-stat --split --pkglist --includepkg --outputdir
--skip-symlinks --changelog-limit --unique-md-filenames
- --simple-md-filenames --distro --content --repo --revision --deltas
- --oldpackagedirs --num-deltas --read-pkgs-list
+ --simple-md-filenames --retain-old-md --distro --content --repo
+ --revision --deltas --oldpackagedirs --num-deltas --read-pkgs-list
--max-delta-rpm-size --workers' -- "$2" ) )
else
COMPREPLY=( $( compgen -d -- "$2" ) )
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 377318ac5de5a402f8ce537b4ac9d5c64e6286af
Author: Ville SkyttÀ <***@iki.fi>
Date: Thu Jul 28 21:01:23 2011 +0300
Add --retain-old-md bash completion.
diff --git a/createrepo.bash b/createrepo.bash
index 54ac8b2..4222fa0 100644
--- a/createrepo.bash
+++ b/createrepo.bash
@@ -30,6 +30,10 @@ _cr_createrepo()
COMPREPLY=( $( compgen -f -o plusdirs -X '!*.rpm' -- "$2" ) )
return 0
;;
+ --retain-old-md)
+ COMPREPLY=( $( compgen -W '0 1 2 3 4 5 6 7 8 9' -- "$2" ) )
+ return 0
+ ;;
--num-deltas)
COMPREPLY=( $( compgen -W '1 2 3 4 5 6 7 8 9' -- "$2" ) )
return 0
@@ -42,8 +46,8 @@ _cr_createrepo()
--cachedir --checkts --no-database --update --update-md-path
--skip-stat --split --pkglist --includepkg --outputdir
--skip-symlinks --changelog-limit --unique-md-filenames
- --simple-md-filenames --distro --content --repo --revision --deltas
- --oldpackagedirs --num-deltas --read-pkgs-list
+ --simple-md-filenames --retain-old-md --distro --content --repo
+ --revision --deltas --oldpackagedirs --num-deltas --read-pkgs-list
--max-delta-rpm-size --workers' -- "$2" ) )
else
COMPREPLY=( $( compgen -d -- "$2" ) )