mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
42176: _tar: update long options
This commit is contained in:
parent
5f6a52c06c
commit
24152f766f
2 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2017-12-27 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 42176: Completion/Unix/Command/_tar: update long options
|
||||
|
||||
2017-12-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* dana: 42156 with tweak as per 42158: Doc/Zsh/options.yo,
|
||||
|
|
|
@ -99,10 +99,16 @@ if [[ "$PREFIX" = --* ]]; then
|
|||
|
||||
# ...long options after `--'.
|
||||
|
||||
_arguments -- '--owner*:user:_users' \
|
||||
_arguments -- '--owner=*:user:_users' \
|
||||
'--group=*:group:_groups' \
|
||||
'--atime-preserve*::method:(replace system)' \
|
||||
'--*-script=NAME:script file:_files' \
|
||||
'--format=*:format:(gnu oldgnu pax posix ustar v7)' \
|
||||
'--quoting-style=*:quoting style:(literal shell shell-always c c-maybe escape locale clocale)' \
|
||||
'--totals*=SIGNAL*::signal:(HUP QUIT INT USR1 USR2)' \
|
||||
'*=(PROG|COMMAND)*:program:_command_names -e' \
|
||||
'*=ARCHIVE*:archive: _tar_archive' \
|
||||
'*=NAME*:file:_files' \
|
||||
'*=FILE*:file:_files' \
|
||||
'*=DIR*:directory:_files -/' \
|
||||
'*=CONTROL*::version control:(t numbered nil existing never simple)'
|
||||
|
||||
|
|
Loading…
Reference in a new issue