help: add 'mergetools' alias for the 'merge-tools' help topic stable
authorMads Kiilerich <mads@kiilerich.com>
Wed, 01 Aug 2012 00:20:10 +0200
branchstable
changeset 17323 2be2a070f294
parent 17322 7124f984dc8d
child 17324 9f94358f9f93
help: add 'mergetools' alias for the 'merge-tools' help topic The '-' in 'merge-tools' is surprising but necessary in the configuration. Let's help those who forget that and are looking for help.
mercurial/help.py
--- a/mercurial/help.py	Wed Aug 01 14:59:15 2012 +0200
+++ b/mercurial/help.py	Wed Aug 01 00:20:10 2012 +0200
@@ -150,7 +150,7 @@
     (['revsets', 'revset'], _("Specifying Revision Sets"), loaddoc('revsets')),
     (['filesets', 'fileset'], _("Specifying File Sets"), loaddoc('filesets')),
     (['diffs'], _('Diff Formats'), loaddoc('diffs')),
-    (['merge-tools'], _('Merge Tools'), loaddoc('merge-tools')),
+    (['merge-tools', 'mergetools'], _('Merge Tools'), loaddoc('merge-tools')),
     (['templating', 'templates', 'template', 'style'], _('Template Usage'),
      loaddoc('templates')),
     (['urls'], _('URL Paths'), loaddoc('urls')),