mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 16:09:32 +01:00
add --smoke option
This commit is contained in:
parent
3c34230a43
commit
cae4e108fc
@ -98,7 +98,7 @@ Usage:
|
|||||||
oragono genpasswd [--conf <filename>] [--quiet]
|
oragono genpasswd [--conf <filename>] [--quiet]
|
||||||
oragono mkcerts [--conf <filename>] [--quiet]
|
oragono mkcerts [--conf <filename>] [--quiet]
|
||||||
oragono mksecret [--conf <filename>] [--quiet]
|
oragono mksecret [--conf <filename>] [--quiet]
|
||||||
oragono run [--conf <filename>] [--quiet]
|
oragono run [--conf <filename>] [--quiet] [--smoke]
|
||||||
oragono -h | --help
|
oragono -h | --help
|
||||||
oragono --version
|
oragono --version
|
||||||
Options:
|
Options:
|
||||||
@ -197,6 +197,8 @@ Options:
|
|||||||
logman.Info("server", "Server running")
|
logman.Info("server", "Server running")
|
||||||
defer logman.Info("server", fmt.Sprintf("Oragono v%s exiting", irc.SemVer))
|
defer logman.Info("server", fmt.Sprintf("Oragono v%s exiting", irc.SemVer))
|
||||||
}
|
}
|
||||||
|
if !arguments["--smoke"].(bool) {
|
||||||
server.Run()
|
server.Run()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user