diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/popt_common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c index 32906432df..8ff2b8023b 100644 --- a/source3/lib/popt_common.c +++ b/source3/lib/popt_common.c @@ -193,6 +193,11 @@ struct poptOption popt_common_debuglevel[] = { POPT_TABLEEND }; +struct poptOption popt_common_option[] = { + { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_POST, (void *)popt_common_callback }, + { "option", 0, POPT_ARG_STRING, NULL, OPT_OPTION, "Set smb.conf option from command line", "name=value" }, + POPT_TABLEEND +}; /* Handle command line options: * --sbindir |