class var options renamed switch_options

This commit is contained in:
BlauFeuer 2018-03-05 14:30:37 -05:00 committed by GitHub
parent 2b9f0750e5
commit f1f94b4788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -467,7 +467,7 @@ class CmdOption(COMMAND_DEFAULT_CLASS):
"""
key = "@option"
aliases = "@options"
options = ("save", "clear")
switch_options = ("save", "clear")
locks = "cmd:all()"
# this is used by the parent
@ -651,7 +651,7 @@ class CmdQuit(COMMAND_DEFAULT_CLASS):
game. Use the /all switch to disconnect from all sessions.
"""
key = "@quit"
options = ("all",)
switch_options = ("all",)
locks = "cmd:all()"
# this is used by the parent