Use HELP_MORE setting flag by default
This commit is contained in:
parent
2b4fa2a467
commit
fdc674e081
1 changed files with 4 additions and 3 deletions
|
|
@ -16,6 +16,7 @@ from evennia.utils.eveditor import EvEditor
|
||||||
from evennia.utils.utils import string_suggestions, class_from_module
|
from evennia.utils.utils import string_suggestions, class_from_module
|
||||||
|
|
||||||
COMMAND_DEFAULT_CLASS = class_from_module(settings.COMMAND_DEFAULT_CLASS)
|
COMMAND_DEFAULT_CLASS = class_from_module(settings.COMMAND_DEFAULT_CLASS)
|
||||||
|
HELP_MORE = settings.HELP_MORE
|
||||||
|
|
||||||
# limit symbol import for API
|
# limit symbol import for API
|
||||||
__all__ = ("CmdHelp", "CmdSetHelp")
|
__all__ = ("CmdHelp", "CmdSetHelp")
|
||||||
|
|
@ -45,9 +46,9 @@ class CmdHelp(Command):
|
||||||
return_cmdset = True
|
return_cmdset = True
|
||||||
|
|
||||||
# Help messages are wrapped in an EvMore call (unless using the webclient
|
# Help messages are wrapped in an EvMore call (unless using the webclient
|
||||||
# with separate help popups) If you want to avoid this, simply set the
|
# with separate help popups) If you want to avoid this, simply add
|
||||||
# 'help_more' flag to False.
|
# 'HELP_MORE = False' in your settings/conf/settings.py
|
||||||
help_more = True
|
help_more = HELP_MORE
|
||||||
|
|
||||||
# suggestion cutoff, between 0 and 1 (1 => perfect match)
|
# suggestion cutoff, between 0 and 1 (1 => perfect match)
|
||||||
suggestion_cutoff = 0.6
|
suggestion_cutoff = 0.6
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue