git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3d643
)
Fix bug #5928 - Option --version in testparm does not work.
author
Tomasz Krasuski
<kr0tki@poczta.onet.pl>
Sat, 6 Dec 2008 00:30:55 +0000
(16:30 -0800)
committer
Jeremy Allison
<jra@samba.org>
Sat, 6 Dec 2008 00:30:55 +0000
(16:30 -0800)
source/lib/popt_common.c
patch
|
blob
|
history
diff --git
a/source/lib/popt_common.c
b/source/lib/popt_common.c
index 25e41ab5f3c0ce1886190662d385f2d63e0021c4..bf8aca878f59c0d9b4d3cb06233acff85d8fd757 100644
(file)
--- a/
source/lib/popt_common.c
+++ b/
source/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
};