class var options renamed switch_options

This commit is contained in:
BlauFeuer 2018-03-05 14:34:10 -05:00 committed by GitHub
parent ac41b427c3
commit dfcd6e5742

View file

@ -237,7 +237,7 @@ class CmdBatchCommands(_COMMAND_DEFAULT_CLASS):
""" """
key = "@batchcommands" key = "@batchcommands"
aliases = ["@batchcommand", "@batchcmd"] aliases = ["@batchcommand", "@batchcmd"]
options = ("interactive",) switch_options = ("interactive",)
locks = "cmd:perm(batchcommands) or perm(Developer)" locks = "cmd:perm(batchcommands) or perm(Developer)"
help_category = "Building" help_category = "Building"
@ -348,7 +348,7 @@ class CmdBatchCode(_COMMAND_DEFAULT_CLASS):
""" """
key = "@batchcode" key = "@batchcode"
aliases = ["@batchcodes"] aliases = ["@batchcodes"]
options = ("interactive", "debug") switch_options = ("interactive", "debug")
locks = "cmd:superuser()" locks = "cmd:superuser()"
help_category = "Building" help_category = "Building"