diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-23 17:03:09 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-02-23 17:03:09 +0000 |
commit | 824ea0edc9483ada26eba4eb226aa40137d86bd8 (patch) | |
tree | 3927d8736413a0ab9bfc2af72ef1e20c379b911e /Completion/Unix/Command/_rar | |
parent | 2073eca9f32a13df802e1dddf8fc23c5b99ff921 (diff) | |
download | zsh-824ea0edc9483ada26eba4eb226aa40137d86bd8.tar.gz zsh-824ea0edc9483ada26eba4eb226aa40137d86bd8.tar.xz zsh-824ea0edc9483ada26eba4eb226aa40137d86bd8.zip |
19457: new sed and uniq completions, add descriptions for rar commands and
update completion for ssh-keygen
Diffstat (limited to 'Completion/Unix/Command/_rar')
-rw-r--r-- | Completion/Unix/Command/_rar | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/Completion/Unix/Command/_rar b/Completion/Unix/Command/_rar index c766b198f..8b12dc8eb 100644 --- a/Completion/Unix/Command/_rar +++ b/Completion/Unix/Command/_rar @@ -22,10 +22,10 @@ common=( '-ow[save or restore file owner and group]' '-p\-[do not query password]' '-r[recurse subdirectorie]' - '-ta[process files modified after <date> in YYYYMMDDHHMMSS format]' - '-tb[process files modified before <date> in YYYYMMDDHHMMSS format]' - '-tn[process files newer than <time>]' - '-to[process files older than <time>]' + '-ta+[process files modified after a date]:date (YYYYMMDDHHMMSS)' + '-tb+[process files modified before a date]:date (YYYYMMDDHHMMSS)' + '-tn+[process files newer than a specified time]:time' + '-to+[process files older than a specified time]:time' '-u[update files]' '-v[create volumes with size autodetection or list all volumes]' '-ver[file version control]' @@ -44,10 +44,33 @@ case $service in ;; rar) if (( CURRENT == 2 )); then - _wanted commands expl 'rar command' compadd \ - a c cf cw d e f i k l lt m mf p r rc rr rv s t u v vt x && return + _values 'rar command' \ + 'a[add files to archive]' \ + 'c[add archive comment]' \ + 'cf[add files comment]' \ + 'cw[write archive comment to file]' \ + 'd[delete files from archive]' \ + 'e[extract files to current directory]' \ + 'f[freshen files in archive]' \ + 'i[find string in archives]' \ + 'k[lock archive]' \ + 'l[list archive]' \ + 'lt[list archive (technical format)]' \ + 'm[move to archive]' \ + 'mf[move to archive (files only)]' \ + 'p[print file to stdout]' \ + 'r[repair archive]' \ + 'rc[reconstruct missing volumes]' \ + 'rr[add data recovery record]' \ + 'rv[create recovery volumes]' \ + 's[convert archive to or from SFX]' \ + 't[test archive files]' \ + 'u[update files in archive]' \ + 'v[verbosely list archive]' \ + 'vt[verbosely list archive (technical format)]' \ + 'x[extract files with full path]' && return else - _arguments -s \ + _arguments -S \ '-ag[generate archive name using the current date]' \ '-as[synchronize archive contents]' \ '-av[put authenticity verification (registered versions only)]' \ |