Ghost options generated from argp
Wolfgang Formann
wformann@arcor.de
Thu Sep 29 07:57:00 GMT 2016
Rickard Jonsson schrieb:
> For a code sample, I've posted source code with the problem present in
> the following url:
> http://www.rickardjonsson.se/files/main.c
> NOTE: Will trigger download prompt in most cases.
diff main.c main.c
26,27c26
< { "create-table", 'c', "INPUTFILE", 0, "Create a new diceware table in $DW_HOME/tables/TABLE" },
< { 0, 0, 0, 0, 0 }
---
> { "create-table", 'c', "INPUTFILE", 0, "Create a new diceware table in $DW_HOME/tables/TABLE" }
From /usr/include/arp.h
struct argp
{
/* An array of argp_option structures, terminated by an entry with both
NAME and KEY having a value of 0. */
const struct argp_option *options;
Wolfgang
More information about the Libc-help
mailing list