From: Hugo Villeneuve Date: Tue, 25 Mar 2014 02:49:26 +0000 (-0400) Subject: Add automatic options --help and --usage with popt X-Git-Url: http://gitweb.hugovil.com/?p=hvgrip.git;a=commitdiff_plain;h=6fb7cb2101c9daa90865fbf86bc789a537bba167 Add automatic options --help and --usage with popt --- diff --git a/src/main.c b/src/main.c index a99d61b..fb886ab 100644 --- a/src/main.c +++ b/src/main.c @@ -116,6 +116,7 @@ struct poptOption options[] = { N_("Run in verbose (debug) mode"), NULL }, + POPT_AUTOHELP { NULL, '\0',