# HG changeset patch # User Ludovic Chabant # Date 1518912812 28800 # Node ID 6462c4a875325c831654cd19b828448065021d6c # Parent d7363be3a6d81d52005834bbd6049fca6d1da56e routes: Make help topic names consistent. diff -r d7363be3a6d8 -r 6462c4a87532 piecrust/commands/builtin/info.py --- a/piecrust/commands/builtin/info.py Sat Feb 17 15:09:04 2018 -0800 +++ b/piecrust/commands/builtin/info.py Sat Feb 17 16:13:32 2018 -0800 @@ -101,11 +101,11 @@ def getHelpTopics(self): return [('routes_config', "Specifying URL routes for your site's content."), - ('route_params', + ('routes_params', "Show the available route parameters.")] def getHelpTopic(self, topic, app): - if topic != 'route_params': + if topic != 'routes_params': return _ResourcesHelpTopics.getHelpTopic(self, topic, app) import textwrap diff -r d7363be3a6d8 -r 6462c4a87532 piecrust/resources/helptopics/routes_routes_config.txt --- a/piecrust/resources/helptopics/routes_routes_config.txt Sat Feb 17 15:09:04 2018 -0800 +++ b/piecrust/resources/helptopics/routes_routes_config.txt Sat Feb 17 16:13:32 2018 -0800 @@ -11,4 +11,4 @@ - url: /myblog/%year%/%month%/%slug% source: posts -To know which placeholders are available, see `chef help route_params`. +To know which placeholders are available, see `chef help routes_params`.