diff options
author | Tomas Mlcoch <tmlcoch@redhat.com> | 2014-07-18 12:13:33 +0400 |
---|---|---|
committer | Tomas Mlcoch <tmlcoch@redhat.com> | 2014-07-18 12:13:33 +0400 |
commit | da7afda4e9f26e217001b62e04a56e7f7f5f2482 (patch) | |
tree | 2d0205cf52fb4fd94ff48b5c73559ebbb8c0ad16 /createrepo_c.bash | |
parent | 8b77978fbb4d93ea79b6623ac2046005903a5a8e (diff) |
bash completion: Add support for delta related args
Diffstat (limited to 'createrepo_c.bash')
-rw-r--r-- | createrepo_c.bash | 7 |
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 |