nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9ec934
)
nitdoc: exec without arguments terminates on exit(0)
author
Alexandre Terrasa
<alexandre@moz-code.org>
Sat, 1 Feb 2014 07:38:19 +0000
(
02:38
-0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Sat, 1 Feb 2014 19:26:24 +0000
(14:26 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/nitdoc.nit
patch
|
blob
|
history
diff --git
a/src/nitdoc.nit
b/src/nitdoc.nit
index
f8bb81c
..
4bfcede
100644
(file)
--- a/
src/nitdoc.nit
+++ b/
src/nitdoc.nit
@@
-78,7
+78,7
@@
class NitdocContext
if arguments.length < 1 then
print "usage: nitdoc [options] file..."
toolcontext.option_context.usage
- exit(1)
+ exit(0)
end
self.process_options