mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Changed to properly exit when not giving a rhs to the options command
This commit is contained in:
parent
8011d42321
commit
c1d8432630
1 changed files with 3 additions and 2 deletions
|
|
@ -373,8 +373,8 @@ class CmdOption(MuxPlayerCommand):
|
|||
Set an account option
|
||||
|
||||
@option
|
||||
@option encoding = [encoding]
|
||||
@option screenreader = on|off
|
||||
@option encoding [= encoding]
|
||||
@option screenreader [= on|off]
|
||||
|
||||
The text encoding is mostly an issue only if you want to use
|
||||
non-ASCII characters (i.e. letters/symbols not found in English).
|
||||
|
|
@ -411,6 +411,7 @@ class CmdOption(MuxPlayerCommand):
|
|||
|
||||
if not self.rhs:
|
||||
self.caller.msg("Usage: @option [name = [value]]")
|
||||
return
|
||||
|
||||
if self.lhs == "encoding":
|
||||
# change encoding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue