Remove unused cmd line option

This commit is contained in:
Christian Sailer 2020-08-04 14:20:41 +01:00
parent 2888aa6b1d
commit e6dfa4da39

View File

@ -56,12 +56,6 @@ open class SharedNodeCmdLineOptions {
) )
var allowHibernateToManangeAppSchema: Boolean = false var allowHibernateToManangeAppSchema: Boolean = false
@Option(
names = ["--pause-all-flows"],
description = ["Do not run any flows on startup. Sets all flows to paused, which can be unpaused via RPC."]
)
var safeMode: Boolean = false
open fun parseConfiguration(configuration: Config): Valid<NodeConfiguration> { open fun parseConfiguration(configuration: Config): Valid<NodeConfiguration> {
val option = Configuration.Options(strict = unknownConfigKeysPolicy == UnknownConfigKeysPolicy.FAIL) val option = Configuration.Options(strict = unknownConfigKeysPolicy == UnknownConfigKeysPolicy.FAIL)
return configuration.parseAsNodeConfiguration(option) return configuration.parseAsNodeConfiguration(option)