From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25975 invoked by alias); 26 Dec 2017 11:05:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42176 Received: (qmail 18160 invoked by uid 1010); 26 Dec 2017 11:05:41 -0000 X-Qmail-Scanner-Diagnostics: from rcpt-mqugw.biglobe.ne.jp by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(133.208.100.3):SA:0(-2.6/5.0):. Processed in 8.152622 secs); 26 Dec 2017 11:05:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: takimoto-j@kba.biglobe.ne.jp X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Biglobe-Sender: From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [PATH] _tar: a few updates for long options Message-Id: <1FDE0001-1B8D-4A5A-9F9C-44912C34CDFD@kba.biglobe.ne.jp> Date: Tue, 26 Dec 2017 19:29:41 +0900 To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.3273) X-Biglobe-Spnum: 60707 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" =3D --* ]]; then =20 # ...long options after `--'. =20 - _arguments -- '--owner*:user:_users' \ + _arguments -- '--owner=3D*:user:_users' \ + '--group=3D*:group:_groups' \ + '--atime-preserve*::method:(replace system)' \ + '--*-script=3DNAME:script file:_files' \ + '--format=3D*:format:(gnu oldgnu pax posix ustar v7)' \ + '--quoting-style=3D*:quoting style:(literal shell = shell-always c c-maybe escape locale clocale)' \ + '--totals*=3DSIGNAL*::signal:(HUP QUIT INT USR1 USR2)' = \ '*=3D(PROG|COMMAND)*:program:_command_names -e' \ '*=3DARCHIVE*:archive: _tar_archive' \ - '*=3DNAME*:file:_files' \ + '*=3DFILE*:file:_files' \ '*=3DDIR*:directory:_files -/' \ '*=3DCONTROL*::version control:(t numbered nil existing = never simple)' =20