Do not display “starting...” log when --help.

This commit is contained in:
Julien Fontanet 2015-01-30 10:59:50 +01:00
parent 3b3ac1688a
commit d2d401883e

View File

@ -47,13 +47,13 @@ $httpListenFailure = (error) ->
# Main.
exports = module.exports = $coroutine (args) ->
$debug 'Starting…'
return exports.help() unless (
(args.indexOf '--help') is -1 and
(args.indexOf '-h') is -1
)
$debug 'Starting…'
# Default config.
opts = {
http: {