From: Wayne Davison <wayned@users.sourceforge.net>
To: Zsh list <zsh-users@zsh.org>
Subject: Latest rsync (3.1.0) options for completion
Date: Sun, 6 Oct 2013 16:22:57 -0700 [thread overview]
Message-ID: <CAHSx_SsmpuibbTO4fuR8WUcdUj8aGTALCsvkCV-0NyNTK=q_9A@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 104 bytes --]
Attached is a patch to add the newest rsync (3.1.0) options to the _rsync
completion script.
..wayne..
[-- Attachment #1.2: Type: text/html, Size: 190 bytes --]
[-- Attachment #2: _rsync.patch --]
[-- Type: application/octet-stream, Size: 2407 bytes --]
index f24a06e..a531d7d 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -74,7 +74,7 @@ _rsync() {
_arguments -s \
'*'{-v,--verbose}'[increase verbosity]' \
{--no-v,--no-verbose}'[turn off --verbose]' \
- '--bwlimit=[limit I/O bandwidth]:KBytes per second' \
+ '--bwlimit=[limit I/O bandwidth]:KBytes (etc.) per second' \
'--port=[specify alternate port number]:port:(873)' \
'--address=[bind to the specified address]:bind address:_bind_addresses' \
'(-T --temp-dir)'{-T,--temp-dir=}'[create temporary files in specified directory]:directory:_directories' \
@@ -137,6 +137,7 @@ _rsync() {
'(-t --times)'{-t,--times}'[preserve times]' \
{--no-t,--no-times}'[turn off --times]' \
'(-O --omit-dir-times)'{-O,--omit-dir-times}'[omit directories when preserving times]' \
+ '(-J --omit-link-times)'{-J,--omit-link-times}'[omit symlinks when preserving times]' \
'--chmod[change destination permissions]:mods' \
'(-S --sparse)'{-S,--sparse}'[handle sparse files efficiently]' \
'(-n --dry-run)'{-n,--dry-run}'[show what would have been transferred]' \
@@ -210,6 +211,16 @@ _rsync() {
'(--only-write-batch)--write-batch=[write a batched update to the specified file]:file:_files' \
'(--write-batch)--only-write-batch=[like --write-batch but w/o updating destination]:file:_files' \
'--protocol=[force an older protocol version to be used]:number' \
+ '--info=[fine-grained informational verbosity]:comma-separated list' \
+ '--debug=[fine-grained debug verbosity]:comma-separated list' \
+ '--munge-links[munge symlinks to make them safer, but unusable]' \
+ '--ignore-missing-args[ignore missing source args without error]' \
+ '--delete-missing-args[delete missing source args from destination]' \
+ '(--usermap --chown)--usermap=[custom username mapping]:comma-separated mappings' \
+ '(--groupmap --chown)--groupmap=[custom groupname mapping]:comma-separated mappings' \
+ '(--usermap --groupmap --chown)--chown=[simple username/groupname mapping]:user and/or group' \
+ '*'{-M=,--remote-option=}'[send option to the remote side only]:option string' \
+ '--preallocate[preallocate the full length of new files]' \
'--iconv=[request charset conversion of filenames]:number' \
'--read-batch=[read a batched update from the specified file]:file:_files'
}
reply other threads:[~2013-10-06 23:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHSx_SsmpuibbTO4fuR8WUcdUj8aGTALCsvkCV-0NyNTK=q_9A@mail.gmail.com' \
--to=wayned@users.sourceforge.net \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).