diff options
author | jbj <jbj> | 2008-02-11 20:49:29 +0000 |
---|---|---|
committer | jbj <jbj> | 2008-02-11 20:49:29 +0000 |
commit | 43bb2b77c603037aaaac896efaaad10409d29ebc (patch) | |
tree | 9246c0d55b47e8a083f00721e1d6e1ff2c815a2e /popthelp.c | |
parent | 000ec9911762bb4eb5367198dfda5826880a50c2 (diff) | |
download | libpopt-43bb2b77c603037aaaac896efaaad10409d29ebc.tar.gz |
- jbj: include "-- Terminate options" end-of-options msg in poptHelpOptions.
Diffstat (limited to 'popthelp.c')
-rw-r--r-- | popthelp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -73,6 +73,7 @@ struct poptOption poptHelpOptions[] = { { NULL, '\0', POPT_ARG_CALLBACK, (void *)displayArgs, 0, NULL, NULL }, { "help", '?', 0, NULL, (int)'?', N_("Show this help message"), NULL }, { "usage", '\0', 0, NULL, (int)'u', N_("Display brief usage message"), NULL }, + { "", '\0', 0, NULL, 0, N_("Terminate options"), NULL }, POPT_TABLEEND } ; @@ -88,6 +89,7 @@ static struct poptOption poptHelpOptions2[] = { { "defaults", '\0', POPT_ARG_NONE, &show_option_defaults, 0, N_("Display option defaults in message"), NULL }, #endif + { "", '\0', 0, NULL, 0, N_("Terminate options"), NULL }, POPT_TABLEEND } ; |