Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mlcoch <tmlcoch@redhat.com>2014-07-18 12:13:33 +0400
committerTomas Mlcoch <tmlcoch@redhat.com>2014-07-18 12:13:33 +0400
commitda7afda4e9f26e217001b62e04a56e7f7f5f2482 (patch)
tree2d0205cf52fb4fd94ff48b5c73559ebbb8c0ad16 /createrepo_c.bash
parent8b77978fbb4d93ea79b6623ac2046005903a5a8e (diff)
bash completion: Add support for delta related args
Diffstat (limited to 'createrepo_c.bash')
-rw-r--r--createrepo_c.bash7
1 files changed, 4 insertions, 3 deletions
diff --git a/createrepo_c.bash b/createrepo_c.bash
index bce7f52..d56027b 100644
--- a/createrepo_c.bash
+++ b/createrepo_c.bash
@@ -20,7 +20,7 @@ _cr_createrepo()
-q|--quiet|-v|--verbose|--skip-stat)
return 0
;;
- --update-md-path|-o|--outputdir)
+ --update-md-path|-o|--outputdir|--oldpackagedirs)
COMPREPLY=( $( compgen -d -- "$2" ) )
return 0
;;
@@ -44,7 +44,7 @@ _cr_createrepo()
# COMPREPLY=( $( compgen -W '0 1 2 3 4 5 6 7 8 9' -- "$2" ) )
# return 0
# ;;
-# --num-deltas)
+# --num-deltas|--max-delta-rpm-size)
# COMPREPLY=( $( compgen -W '1 2 3 4 5 6 7 8 9' -- "$2" ) )
# return 0
# ;;
@@ -68,7 +68,8 @@ _cr_createrepo()
--skip-symlinks --changelog-limit --unique-md-filenames
--simple-md-filenames --retain-old-md --distro --content --repo
--revision --read-pkgs-list --update --workers --xz
- --compress-type --keep-all-metadata' -- "$2" ) )
+ --compress-type --keep-all-metadata --deltas --oldpackagedirs
+ --num-deltas --max-delta-rpm-size' -- "$2" ) )
else
COMPREPLY=( $( compgen -d -- "$2" ) )
fi