[Checkins] SVN: cipher.googlepam/trunk/src/cipher/googlepam/addusers.py When some options are missing, remind the user of their syntax.
Marius Gedminas
cvs-admin at zope.org
Tue Oct 9 08:37:27 UTC 2012
Log message for revision 127950:
When some options are missing, remind the user of their syntax.
Changed:
U cipher.googlepam/trunk/src/cipher/googlepam/addusers.py
-=-
Modified: cipher.googlepam/trunk/src/cipher/googlepam/addusers.py
===================================================================
--- cipher.googlepam/trunk/src/cipher/googlepam/addusers.py 2012-10-09 08:37:19 UTC (rev 127949)
+++ cipher.googlepam/trunk/src/cipher/googlepam/addusers.py 2012-10-09 08:37:24 UTC (rev 127950)
@@ -197,12 +197,12 @@
options.group = config.get(SECTION_NAME, 'group')
if not options.domain:
- parser.error("please specify a Google-managed domain")
+ parser.error("please specify a Google-managed domain (-d)")
if not options.user:
- parser.error("please specify the Google domain admin username")
+ parser.error("please specify the Google domain admin username (-u)")
if not options.password:
- parser.error("please specify the Google domain admin password")
+ parser.error("please specify the Google domain admin password (-p)")
if not options.group:
- parser.error("please specify the Google group")
+ parser.error("please specify the Google group (-g)")
addusers(options)
More information about the checkins
mailing list