hgext/gpg.py
changeset 42235 ade02721d3fa
parent 41676 0531dff73d0b
child 43076 2372284d9457
--- a/hgext/gpg.py	Thu Apr 25 15:30:40 2019 -0700
+++ b/hgext/gpg.py	Fri Apr 26 17:39:07 2019 +0200
@@ -49,6 +49,11 @@
 
 # Custom help category
 _HELP_CATEGORY = 'gpg'
+help.CATEGORY_ORDER.insert(
+    help.CATEGORY_ORDER.index(registrar.command.CATEGORY_HELP),
+    _HELP_CATEGORY
+)
+help.CATEGORY_NAMES[_HELP_CATEGORY] = 'Signing changes (GPG)'
 
 class gpg(object):
     def __init__(self, path, key=None):