nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1b7f2
)
lib/config: add `-?` option as help
author
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 8 May 2018 02:54:00 +0000
(22:54 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 11 May 2018 14:58:35 +0000
(10:58 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/config/config.nit
patch
|
blob
|
history
diff --git
a/lib/config/config.nit
b/lib/config/config.nit
index
eb2bdba
..
463bf84
100644
(file)
--- a/
lib/config/config.nit
+++ b/
lib/config/config.nit
@@
-186,7
+186,7
@@
class Config
var opts = new OptionContext
# Help option
- var opt_help = new OptionBool("Show this help message", "-h", "--help")
+ var opt_help = new OptionBool("Show this help message", "-h", "-?", "--help")
# Redefine this init to add your options
init do