From: Michael Adam Date: Wed, 9 Feb 2011 12:45:22 +0000 (+0100) Subject: s3:testparm: add "--option" to testparm X-Git-Tag: tevent-0.9.11~848 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=872d913fa2cf64f37123de69411a0bd6df15d088;p=thirdparty%2Fsamba.git s3:testparm: add "--option" to testparm This way one can test the --option feature with testparm. E.g.: testparm -s -v --option="parameter=value" | grep parameter should print "parameter = value" --- diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index b17d61b9145..1a011a5a37d 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -339,6 +339,7 @@ rameter is ignored when using CUPS libraries.\n", {"section-name", '\0', POPT_ARG_STRING, §ion_name, 0, "Limit testparm to a named section" }, POPT_COMMON_VERSION POPT_COMMON_DEBUGLEVEL + POPT_COMMON_OPTION POPT_TABLEEND };