summaryrefslogtreecommitdiff
path: root/popthelp.c
diff options
context:
space:
mode:
authorjbj <jbj>2008-02-11 20:49:29 +0000
committerjbj <jbj>2008-02-11 20:49:29 +0000
commit43bb2b77c603037aaaac896efaaad10409d29ebc (patch)
tree9246c0d55b47e8a083f00721e1d6e1ff2c815a2e /popthelp.c
parent000ec9911762bb4eb5367198dfda5826880a50c2 (diff)
downloadlibpopt-43bb2b77c603037aaaac896efaaad10409d29ebc.tar.gz
- jbj: include "-- Terminate options" end-of-options msg in poptHelpOptions.
Diffstat (limited to 'popthelp.c')
-rw-r--r--popthelp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/popthelp.c b/popthelp.c
index 3cdc54f..aa0651d 100644
--- a/popthelp.c
+++ b/popthelp.c
@@ -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
} ;