Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _sudo



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'



Messages sorted by: Reverse Date, Date, Thread, Author