diff options
author | Tomasz Krasuski <kr0tki@poczta.onet.pl> | 2008-12-05 16:30:39 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-12-05 16:30:39 -0800 |
commit | 33193c2bb78f8903aa430f8153f74a68682ddec3 (patch) | |
tree | 505f7e5e3ba1fe2296de0ac481bf9f09b45ef341 /source3/lib | |
parent | 3b6e5e6cc8b00912d24c8e1fc59eaa21068db91a (diff) | |
download | samba-33193c2bb78f8903aa430f8153f74a68682ddec3.tar.gz samba-33193c2bb78f8903aa430f8153f74a68682ddec3.tar.bz2 samba-33193c2bb78f8903aa430f8153f74a68682ddec3.zip |
Fix bug #5928 - Option --version in testparm does not work.
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/popt_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c index 2e6d3b3cb1..9e67c5257d 100644 --- a/source3/lib/popt_common.c +++ b/source3/lib/popt_common.c @@ -166,7 +166,7 @@ struct poptOption popt_common_configfile[] = { }; struct poptOption popt_common_version[] = { - { NULL, 0, POPT_ARG_CALLBACK, (void *)popt_common_callback }, + { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_POST, (void *)popt_common_callback }, { "version", 'V', POPT_ARG_NONE, NULL, 'V', "Print version" }, POPT_TABLEEND }; |