extdiff: register the configuration generated commands with a help category stable
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 03 Dec 2018 20:59:48 -0500
branchstable
changeset 40801 97190b0bb81a
parent 40791 6f679f25fd4d
child 40802 e204d9a27528
extdiff: register the configuration generated commands with a help category Otherwise, 'extdiff' shows up under file management and the rest of the commands are at the bottom under 'Uncategorized'.
hgext/extdiff.py
--- a/hgext/extdiff.py	Mon Dec 03 09:36:40 2018 -0800
+++ b/hgext/extdiff.py	Mon Dec 03 20:59:48 2018 -0500
@@ -429,6 +429,7 @@
             if args:
                 cmdline += ' ' + args
         command(cmd, extdiffopts[:], _('hg %s [OPTION]... [FILE]...') % cmd,
+                helpcategory=command.CATEGORY_FILE_CONTENTS,
                 inferrepo=True)(savedcmd(path, cmdline))
 
 # tell hggettext to extract docstrings from these functions: