From bf97a7de04d2c719239001b106e74cc8dfbd286e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 3 Mar 2016 22:09:27 +0530 Subject: [PATCH] ... --- manual/custom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/custom.py b/manual/custom.py index d8d30b5932..6bd2617d20 100644 --- a/manual/custom.py +++ b/manual/custom.py @@ -85,7 +85,7 @@ def generate_calibredb_help(preamble, app): global_parser = get_parser('') groups = [] for grp in global_parser.option_groups: - groups.append((grp.title.capitalize(), grp.description, grp.option_list)) + groups.append((grp.title, grp.description, grp.option_list)) global_options = '\n'.join(render_options('calibredb', groups, False, False)) @@ -113,7 +113,7 @@ def generate_calibredb_help(preamble, app): for group in parser.option_groups: if not getattr(group, 'is_global_options', False): lines.extend(render_options( - 'calibredb_' + cmd, [[group.title.capitalize(), group.description, group.option_list]], False, False, header_level='^')) + 'calibredb_' + cmd, [[group.title, group.description, group.option_list]], False, False, header_level='^')) lines += [''] raw = preamble + '\n\n'+'.. contents::\n :local:'+ '\n\n' + global_options+'\n\n'+'\n'.join(lines)