Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 16713:fa24e8db71fd
help: tweak keyword format output
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 13 May 2012 15:26:06 +0200 |
parents | 497deec204d1 |
children | 1e24da6fcd67 |
comparison
equal
deleted
inserted
replaced
16712:846ed7a730db | 16713:fa24e8db71fd |
---|---|
3367 for t, title in (('topics', _('Topics')), | 3367 for t, title in (('topics', _('Topics')), |
3368 ('commands', _('Commands')), | 3368 ('commands', _('Commands')), |
3369 ('extensions', _('Extensions')), | 3369 ('extensions', _('Extensions')), |
3370 ('extensioncommands', _('Extension Commands'))): | 3370 ('extensioncommands', _('Extension Commands'))): |
3371 if matches[t]: | 3371 if matches[t]: |
3372 ui.write('%s:\n' % title) | 3372 ui.write('%s:\n\n' % title) |
3373 ui.write(minirst.format(minirst.maketable(matches[t]))) | 3373 ui.write(minirst.format(minirst.maketable(matches[t], 1))) |
3374 return | 3374 return |
3375 | 3375 |
3376 if name and name != 'shortlist': | 3376 if name and name != 'shortlist': |
3377 i = None | 3377 i = None |
3378 if unknowncmd: | 3378 if unknowncmd: |