nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1c460
)
opts: fix weird indent
author
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 18 Nov 2016 18:35:54 +0000
(13:35 -0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Sat, 3 Dec 2016 02:29:47 +0000
(21:29 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/opts.nit
patch
|
blob
|
history
diff --git
a/lib/opts.nit
b/lib/opts.nit
index
30ea286
..
c93d39a
100644
(file)
--- a/
lib/opts.nit
+++ b/
lib/opts.nit
@@
-292,9
+292,7
@@
class OptionContext
private var optmap = new HashMap[String, Option]
# Add one or more options to the context
- fun add_option(opts: Option...) do
- options.add_all(opts)
- end
+ fun add_option(opts: Option...) do options.add_all(opts)
# Display all the options available
fun usage