comparison piecrust/commands/builtin/info.py @ 1103:6462c4a87532

routes: Make help topic names consistent.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 17 Feb 2018 16:13:32 -0800
parents 07c23be08029
children 986ecdaa2a36
comparison
equal deleted inserted replaced
1102:d7363be3a6d8 1103:6462c4a87532
99 command_name = 'help' 99 command_name = 'help'
100 100
101 def getHelpTopics(self): 101 def getHelpTopics(self):
102 return [('routes_config', 102 return [('routes_config',
103 "Specifying URL routes for your site's content."), 103 "Specifying URL routes for your site's content."),
104 ('route_params', 104 ('routes_params',
105 "Show the available route parameters.")] 105 "Show the available route parameters.")]
106 106
107 def getHelpTopic(self, topic, app): 107 def getHelpTopic(self, topic, app):
108 if topic != 'route_params': 108 if topic != 'routes_params':
109 return _ResourcesHelpTopics.getHelpTopic(self, topic, app) 109 return _ResourcesHelpTopics.getHelpTopic(self, topic, app)
110 110
111 import textwrap 111 import textwrap
112 112
113 help_txt = ( 113 help_txt = (