class var options renamed switch_options

This commit is contained in:
BlauFeuer 2018-03-05 14:34:10 -05:00 committed by GitHub
parent d0cf78fae9
commit 567254e028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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