s4-provision: Fix --use-s3fs to parse correctly
authorAndrew Bartlett <abartlet@samba.org>
Wed, 2 May 2012 00:44:45 +0000 (10:44 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 May 2012 00:53:51 +0000 (10:53 +1000)
source4/setup/provision

index a0e58ec5150227909d914f10d3790f1aa99f26f9..a9d71cde6be6176a75ca5e29cd34e43130c8886f 100755 (executable)
@@ -125,7 +125,7 @@ parser.add_option("--ol-mmr-urls", type="string", metavar="LDAPSERVER",
 parser.add_option("--slapd-path", type="string", metavar="SLAPD-PATH",
         help="Path to slapd for LDAP backend [e.g.:'/usr/local/libexec/slapd']. Required for Setup with LDAP-Backend. OpenLDAP Version >= 2.4.17 should be used.")
 parser.add_option("--use-xattrs", type="choice", choices=["yes", "no", "auto"], help="Define if we should use the native fs capabilities or a tdb file for storing attributes likes ntacl, auto tries to make an inteligent guess based on the user rights and system capabilities", default="auto")
-parser.add_option("--use-s3fs", help="Use s3fs for the fileserver (default = no)")
+parser.add_option("--use-s3fs", action="store_true", help="Use s3fs for the fileserver (default = no)")
 
 opts = parser.parse_args()[0]