* [PATH] _tar: a few updates for long options
@ 2017-12-26 10:29 Jun T
0 siblings, 0 replies; only message in thread
From: Jun T @ 2017-12-26 10:29 UTC (permalink / raw)
To: zsh-workers
I've fond _tar needs some update for long options.
This is not related with the locale-dependent help output.
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar
index 4a2404873..ecf02fd83 100644
--- a/Completion/Unix/Command/_tar
+++ b/Completion/Unix/Command/_tar
@@ -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)'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-26 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-26 10:29 [PATH] _tar: a few updates for long options Jun T
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).