From 43bb2b77c603037aaaac896efaaad10409d29ebc Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 11 Feb 2008 20:49:29 +0000 Subject: - jbj: include "-- Terminate options" end-of-options msg in poptHelpOptions. --- popthelp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'popthelp.c') 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 } ; -- cgit v1.2.1