Mercurial > hg
comparison mercurial/registrar.py @ 40414:444861dc1e55
help: displaying documented aliases by default
This makes aliases be displayed in "hg help" when they have a :doc config
entry, and also allows them to be assigned to a category with :category.
Differential Revision: https://phab.mercurial-scm.org/D5087
author | rdamazio@google.com |
---|---|
date | Thu, 18 Oct 2018 19:57:05 -0700 |
parents | fa88170c10bb |
children | 13f50ea8ac3b |
comparison
equal
deleted
inserted
replaced
40413:1ddd202c47d9 | 40414:444861dc1e55 |
---|---|
167 See the WritingExtensions and MercurialApi documentation for more exhaustive | 167 See the WritingExtensions and MercurialApi documentation for more exhaustive |
168 descriptions and examples. | 168 descriptions and examples. |
169 """ | 169 """ |
170 | 170 |
171 # Command categories for grouping them in help output. | 171 # Command categories for grouping them in help output. |
172 # These can also be specified for aliases, like: | |
173 # [alias] | |
174 # myalias = something | |
175 # myalias:category = repo | |
172 CATEGORY_REPO_CREATION = 'repo' | 176 CATEGORY_REPO_CREATION = 'repo' |
173 CATEGORY_REMOTE_REPO_MANAGEMENT = 'remote' | 177 CATEGORY_REMOTE_REPO_MANAGEMENT = 'remote' |
174 CATEGORY_COMMITTING = 'commit' | 178 CATEGORY_COMMITTING = 'commit' |
175 CATEGORY_CHANGE_MANAGEMENT = 'management' | 179 CATEGORY_CHANGE_MANAGEMENT = 'management' |
176 CATEGORY_CHANGE_ORGANIZATION = 'organization' | 180 CATEGORY_CHANGE_ORGANIZATION = 'organization' |