Do not display “starting...” log when --help.
This commit is contained in:
parent
3b3ac1688a
commit
d2d401883e
@ -47,13 +47,13 @@ $httpListenFailure = (error) ->
|
|||||||
|
|
||||||
# Main.
|
# Main.
|
||||||
exports = module.exports = $coroutine (args) ->
|
exports = module.exports = $coroutine (args) ->
|
||||||
$debug 'Starting…'
|
|
||||||
|
|
||||||
return exports.help() unless (
|
return exports.help() unless (
|
||||||
(args.indexOf '--help') is -1 and
|
(args.indexOf '--help') is -1 and
|
||||||
(args.indexOf '-h') is -1
|
(args.indexOf '-h') is -1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
$debug 'Starting…'
|
||||||
|
|
||||||
# Default config.
|
# Default config.
|
||||||
opts = {
|
opts = {
|
||||||
http: {
|
http: {
|
||||||
|
Loading…
Reference in New Issue
Block a user