Add automatic options --help and --usage with popt
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 25 Mar 2014 02:49:26 +0000 (22:49 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 25 Mar 2014 03:27:04 +0000 (23:27 -0400)
src/main.c

index a99d61b..fb886ab 100644 (file)
@@ -116,6 +116,7 @@ struct poptOption options[] = {
     N_("Run in verbose (debug) mode"),
     NULL
   },
+  POPT_AUTOHELP
   {
     NULL,
     '\0',