From b5dd21864d1df481c6be9923931d8d924340bc24 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 14 Oct 2012 16:34:59 +0200 Subject: [PATCH] Changed help category to be displayed with title() instead of with capitalize(). Resolves Issue 289. --- src/commands/default/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/default/help.py b/src/commands/default/help.py index 599f815cae..d214ea3774 100644 --- a/src/commands/default/help.py +++ b/src/commands/default/help.py @@ -48,12 +48,12 @@ def format_help_list(hdict_cmds, hdict_db): if hdict_cmds and any(hdict_cmds.values()): string += "\n" + SEP + "\n {CCommand help entries{n\n" + SEP for category in sorted(hdict_cmds.keys()): - string += "\n {w%s{n:\n" % (str(category).capitalize()) + string += "\n {w%s{n:\n" % (str(category).title()) string += "{G" + fill(", ".join(sorted(hdict_cmds[category]))) + "{n" if hdict_db and any(hdict_db.values()): string += "\n\n" + SEP + "\n\r {COther help entries{n\n" + SEP for category in sorted(hdict_db.keys()): - string += "\n\r {w%s{n:\n" % (str(category).capitalize()) + string += "\n\r {w%s{n:\n" % (str(category).title()) string += "{G" + fill(", ".join(sorted([str(topic) for topic in hdict_db[category]]))) + "{n" return string