diff mercurial/commands.py @ 13585:2e80d495592a

templates: generate keyword help dynamically
author Patrick Mezard <pmezard@gmail.com>
date Sat, 12 Mar 2011 12:46:31 +0100
parents edd06611a7c6
children 264f292a0c6f
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Mar 12 12:46:31 2011 +0100
+++ b/mercurial/commands.py	Sat Mar 12 12:46:31 2011 +0100
@@ -2142,6 +2142,7 @@
                    'extensions\n'))
 
     help.addtopichook('revsets', revset.makedoc)
+    help.addtopichook('templates', templatekw.makedoc)
 
     if name and name != 'shortlist':
         i = None