mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 06:57:16 +02:00
Color Cyan the comma in Cmd aliases and suggestions
This commit is contained in:
parent
33fac1bb76
commit
fc579ef0bb
1 changed files with 2 additions and 2 deletions
|
|
@ -29,12 +29,12 @@ def format_help_entry(title, help_text, aliases=None, suggested=None):
|
|||
if title:
|
||||
string += "{CHelp topic for {w%s{n" % title
|
||||
if aliases:
|
||||
string += " {C(aliases: {w%s{n{C){n" % (", ".join(aliases))
|
||||
string += " {C(aliases: {w%s{n{C){n" % ("{C,{n ".join(aliases))
|
||||
if help_text:
|
||||
string += "\n%s" % dedent(help_text.rstrip())
|
||||
if suggested:
|
||||
string += "\n\n{CSuggested:{n "
|
||||
string += "{w%s{n" % fill(", ".join(suggested))
|
||||
string += "{w%s{n" % fill("{C,{n ".join(suggested))
|
||||
string.strip()
|
||||
string += "\n" + _SEP
|
||||
return string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue