class var options renamed switch_options
This commit is contained in:
parent
ac41b427c3
commit
dfcd6e5742
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue