mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:param: Use C99 initializer for poptOption in test_lp_load
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
f699cec7d5
commit
4c3ada2515
@ -30,8 +30,14 @@ int main(int argc, const char **argv)
|
||||
|
||||
struct poptOption long_options[] = {
|
||||
POPT_AUTOHELP
|
||||
{"count", 'c', POPT_ARG_STRING, &count_str, 1,
|
||||
"Load config <count> number of times"},
|
||||
{
|
||||
.longName = "count",
|
||||
.shortName = 'c',
|
||||
.argInfo = POPT_ARG_STRING,
|
||||
.arg = &count_str,
|
||||
.val = 1,
|
||||
.descrip = "Load config <count> number of times"
|
||||
},
|
||||
POPT_COMMON_DEBUGLEVEL
|
||||
POPT_TABLEEND
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user