chpwd, subcommand.py: Only show global options in admin context help.
[chopwood] / userv.rc
index 842940e..6a7500f 100644 (file)
--- a/userv.rc
+++ b/userv.rc
@@ -1,9 +1,9 @@
 ### -*-conf-*-
 
-if ( glob service help list source set reset clear
-   & grep service-user-shell /etc/shells
+if ( grep service-user-shell /etc/shells
+   & ! glob service www-cgi
    )
        no-suppress-args
        no-set-environment
-       execute ./chpwd
+       execute ./chpwd userv
 fi