From: Andrew Bartlett Date: Wed, 2 May 2012 00:44:45 +0000 (+1000) Subject: s4-provision: Fix --use-s3fs to parse correctly X-Git-Tag: samba-4.0.0alpha21~411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63f2d1060eb889e755078bb2b52dec3909ad4792;p=thirdparty%2Fsamba.git s4-provision: Fix --use-s3fs to parse correctly --- diff --git a/source4/setup/provision b/source4/setup/provision index a0e58ec5150..a9d71cde6be 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -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]