From 6fb7cb2101c9daa90865fbf86bc789a537bba167 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 24 Mar 2014 22:49:26 -0400 Subject: [PATCH] Add automatic options --help and --usage with popt --- src/main.c | 1 + 1 file changed, 1 insertion(+) 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', -- 2.20.1