Mercurial > public > mercurial-scm > hg
diff hgext/journal.py @ 40293:c303d65d2e34
help: assigning categories to existing commands
I'm separating this into its own commit so people can bikeshed over the actual
categorization (vs the support for categories). These categories are based on
the help implementation we've been using internally at Google, and have had
zero complaints.
Differential Revision: https://phab.mercurial-scm.org/D5067
author | rdamazio@google.com |
---|---|
date | Sat, 13 Oct 2018 02:17:41 -0700 |
parents | aa647457df14 |
children | 876494fd967d |
line wrap: on
line diff
--- a/hgext/journal.py Fri Oct 12 17:57:36 2018 +0200 +++ b/hgext/journal.py Sat Oct 13 02:17:41 2018 -0700 @@ -440,7 +440,8 @@ ('', 'all', None, 'show history for all names'), ('c', 'commits', None, 'show commit metadata'), ] + [opt for opt in cmdutil.logopts if opt[1] not in _ignoreopts], - '[OPTION]... [BOOKMARKNAME]') + '[OPTION]... [BOOKMARKNAME]', + helpcategory=command.CATEGORY_CHANGE_ORGANIZATION) def journal(ui, repo, *args, **opts): """show the previous position of bookmarks and the working copy