From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20359 invoked from network); 9 Mar 2000 10:29:01 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Mar 2000 10:29:01 -0000 Received: (qmail 23908 invoked by alias); 9 Mar 2000 10:15:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10011 Received: (qmail 23898 invoked from network); 9 Mar 2000 10:15:29 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: PATCH: _sudo Date: Thu, 9 Mar 2000 13:12:28 +0300 Message-ID: <000c01bf89af$f954ce70$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Trivial _sudo patch (adding option descriptions and some more options from 1.6). Should we check version, or add "1.6 required" to description? Or is it troubles it at all? regards -andrej Have a nice DOS! B >> --- Completion/User/_sudo.org Thu Mar 9 13:06:08 2000 +++ Completion/User/_sudo Thu Mar 9 12:56:51 2000 @@ -2,15 +2,18 @@ _arguments \ '-V[show version]' \ - '-l[list commands]' \ + '-l[list allowed commands]' \ + '-L[list options from Default section]' \ '-h[show help]' \ - '-v[validate timestamp file]' \ - '-k[remove timestamp file]' \ + '-v[validate user timestamp]' \ + '-k[invalidate user timestamp]' \ + '-K[remove user timestamp]' \ '-b[run command in background]' \ - '-r:Kerberos realm:' \ - '-p:prompt:' \ - '-u:user name:_users' \ + '-r[Kerberos realm]:Kerberos realm:' \ + '-p[password prompt]:password prompt:' \ + '-u[user name]:user name:_users' \ '-s[run SHELL]' \ '-H[set HOME environment variable]' \ + '-S[read password from stdin]' \ ':complete command name: _command_names -e' \ '*::arguments: _normal'