diff options
author | Michael Adam <obnox@samba.org> | 2011-02-09 13:45:22 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-02-09 14:00:34 +0100 |
commit | 872d913fa2cf64f37123de69411a0bd6df15d088 (patch) | |
tree | 4493b3d353c6712fab3fb043b60eec6c9fba9c5c | |
parent | 015b47fa149851e5e332c38926badc3e85cba68d (diff) | |
download | samba-872d913fa2cf64f37123de69411a0bd6df15d088.tar.gz samba-872d913fa2cf64f37123de69411a0bd6df15d088.tar.bz2 samba-872d913fa2cf64f37123de69411a0bd6df15d088.zip |
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"
-rw-r--r-- | source3/utils/testparm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index b17d61b914..1a011a5a37 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 }; |