nitdoc: exec without arguments terminates on exit(0)
authorAlexandre Terrasa <alexandre@moz-code.org>
Sat, 1 Feb 2014 07:38:19 +0000 (02:38 -0500)
committerAlexandre 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

index f8bb81c..4bfcede 100644 (file)
@@ -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