projects
/
hvgrip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71083c9
)
Add automatic options --help and --usage with popt
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 25 Mar 2014 02:49:26 +0000
(22:49 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 25 Mar 2014 03:27:04 +0000
(23:27 -0400)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
a99d61b
..
fb886ab
100644
(file)
--- 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',