Do not display “starting...” log when --help.
This commit is contained in:
parent
3b3ac1688a
commit
d2d401883e
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user