Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
13584:02f507ce61f2 | 13585:2e80d495592a |
---|---|
2140 ui.write('\n\n') | 2140 ui.write('\n\n') |
2141 ui.write(_('use "hg help extensions" for information on enabling ' | 2141 ui.write(_('use "hg help extensions" for information on enabling ' |
2142 'extensions\n')) | 2142 'extensions\n')) |
2143 | 2143 |
2144 help.addtopichook('revsets', revset.makedoc) | 2144 help.addtopichook('revsets', revset.makedoc) |
2145 help.addtopichook('templates', templatekw.makedoc) | |
2145 | 2146 |
2146 if name and name != 'shortlist': | 2147 if name and name != 'shortlist': |
2147 i = None | 2148 i = None |
2148 if unknowncmd: | 2149 if unknowncmd: |
2149 queries = (helpextcmd,) | 2150 queries = (helpextcmd,) |