[Bash-completion-commits] [SCM] bash-completion branch, master, updated. ed45c2caafce4d20094b23de317b9cf58013d16d
Ville Skyttä
ville.skytta at iki.fi
Tue Dec 22 18:54:25 UTC 2009
The following commit has been merged in the master branch:
commit ed45c2caafce4d20094b23de317b9cf58013d16d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Dec 22 20:53:30 2009 +0200
Sync rsync options with rsync 3.0.6, add --compress-level arg completion.
diff --git a/CHANGES b/CHANGES
index b7c1785..d894be6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -25,8 +25,8 @@ bash-completion (2.x)
* Apply pine completion to alpine too.
* Remove many unnecessary short option completions where long ones exist.
* Improve configure, cvs, gkrellm, lftp, mdadm, modprobe, mplayer,
- mysqladmin, screen, service, scp, ssh, update-alternatives, and general
- hostname completions.
+ mysqladmin, rsync, screen, service, scp, ssh, update-alternatives, and
+ general hostname completions.
* Add abook and wtf completion, based on work by Raphaël Droz.
* Add jarsigner, k3b, lftpget, pm-utils, pack200 and unpack200 completions.
* Don't overwrite other host completions when completing from multiple
diff --git a/contrib/rsync b/contrib/rsync
index 20331a8..07d247f 100644
--- a/contrib/rsync
+++ b/contrib/rsync
@@ -26,25 +26,41 @@ _rsync()
COMPREPLY=( $( compgen -W 'rsh ssh' -- "$cur" ) )
return 0
;;
+ --compress-level)
+ COMPREPLY=( $( compgen -W '1 2 3 4 5 6 7 8 9' -- "$cur" ) )
+ return 0
+ ;;
esac
case "$cur" in
-*)
- COMPREPLY=( $( compgen -W '-D --verbose --quiet --checksum \
- --archive --recursive --relative --backup --backup-dir \
- --suffix= --update --links --copy-links --copy-unsafe-links \
- --safe-links --hard-links --perms --owner --group --devices \
- --times --sparse --dry-run --whole-file --no-whole-file \
+ COMPREPLY=( $( compgen -W '--verbose --quiet --checksum --no-motd \
+ --checksum --archive --recursive --relative --no-implied-dirs \
+ --backup --backup-dir --suffix= --update --inplace --append \
+ --append-verify --dirs --links --copy-links \
+ --copy-unsafe-links --safe-links --copy-dirlinks \
+ --keep-dirlinks --hard-links --perms --executability --chmod= \
+ --acls --xattrs --owner --group --devices --copy-devices \
+ --specials --times --omit-dir-times --super --fake-super \
+ --sparse --dry-run --whole-file --no-whole-file \
--one-file-system --block-size= --rsh= --rsync-path= \
- --cvs-exclude --existing --ignore-existing --delete \
- --delete-excluded --delete-after --ignore-errors \
- --max-delete= --partial --force --numeric-ids --timeout= \
- --ignore-times --size-only --modify-window= --temp-dir= \
- --compare-dest= --compress --exclude= --exclude-from= \
- --include= --include-from= --version --daemon --no-detach \
- --address= --config= --port= --blocking-io --no-blocking-io \
- --stats --progress --log-format= --password-file= --bwlimit= \
- --write-batch= --read-batch= --ipv4 --ipv6 --help' -- "$cur" ) )
+ --existing --ignore-existing --remove-source-files --delete \
+ --delete-before --delete-during --delete-delay --delete-after \
+ --delete-excluded --ignore-errors --force --max-delete= \
+ --max-size= --min-size= --partial --partial-dir= \
+ --delay-updates --prune-empty-dirs --numeric-ids --timeout= \
+ --contimeout= --ignore-times --size-only --modify-window= \
+ --temp-dir= --fuzzy --compare-dest= --copy-dest= --link-dest= \
+ --compress --compress-level= --skip-compress= --cvs-exclude \
+ --filter= --exclude= --exclude-from= --include= \
+ --include-from= --files-from= --from0 --protect-args
+ --address= --port= --sockopts= --blocking-io --no-blocking-io \
+ --stats --8-bit-output --human-readable --progress \
+ --itemize-changes --out-format= --log-file= \
+ --log-file-format= --password-file= --list-only --bwlimit= \
+ --write-batch= --only-write-batch= --read-batch= --protocol= \
+ --iconv= --ipv4 --ipv6 --version --help --daemon --config= \
+ --no-detach' -- "$cur" ) )
;;
*:*)
# find which remote shell is used
--
bash-completion
More information about the Bash-completion-commits
mailing list