Author: jelmer
Date: 2007-12-17 13:21:29 +0000 (Mon, 17 Dec 2007)
New Revision: 26509

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26509

Log:
Don't make boolean options eat the next argument.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/setup/provision.py


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/setup/provision.py
===================================================================
--- branches/SAMBA_4_0/source/setup/provision.py        2007-12-17 13:16:10 UTC 
(rev 26508)
+++ branches/SAMBA_4_0/source/setup/provision.py        2007-12-17 13:21:29 UTC 
(rev 26509)
@@ -77,11 +77,12 @@
                help="choose 'wheel' privileged group")
 parser.add_option("--users", type="string", metavar="GROUPNAME", 
                help="choose 'users' group")
-parser.add_option("--quiet", help="Be quiet")
+parser.add_option("--quiet", help="Be quiet", action="store_true")
 parser.add_option("--blank", 
                help="do not add users or groups, just the structure")
 parser.add_option("--ldap-base", 
-               help="output only an LDIF file, suitable for creating an LDAP 
baseDN")
+               help="output only an LDIF file, suitable for creating an LDAP 
baseDN",
+        action="store_true")
 parser.add_option("--ldap-backend", type="string", metavar="LDAPSERVER", 
                help="LDAP server to use for this provision")
 parser.add_option("--ldap-module=", type="string", metavar="MODULE", 
@@ -92,7 +93,7 @@
                          choices=["domain controller", "domain server"],
                help="Set server role to provision for (default standalone)")
 parser.add_option("--partitions-only", 
-               help="Configure Samba's partitions, but do not modify them (ie, 
join a BDC)")
+               help="Configure Samba's partitions, but do not modify them (ie, 
join a BDC)", action="store_true")
 
 opts = parser.parse_args()[0]
 

Reply via email to