# HG changeset patch # User Rishabh Madan # Date 1503946285 -19800 # Node ID 01e8ab4b657351aa3fd3c5c717649567c8876a59 # Parent 741a511492d34e074ca5df00dd7309028179f1bb releasenotes: update docstrings with information on additional flags This patch adds documentation related to the two new flags --check and --list for releasenotes extension. Differential Revision: https://phab.mercurial-scm.org/D544 diff -r 741a511492d3 -r 01e8ab4b6573 hgext/releasenotes.py --- a/hgext/releasenotes.py Thu Sep 28 13:22:58 2017 +0530 +++ b/hgext/releasenotes.py Tue Aug 29 00:21:25 2017 +0530 @@ -550,6 +550,12 @@ this command and changes should not be lost when running this command on that file. A particular use case for this is to tweak the wording of a release note after it has been added to the release notes file. + + The -c/--check option checks the commit message for invalid admonitions. + + The -l/--list option, presents the user with a list of existing available + admonitions along with their title. This also includes the custom + admonitions (if any). """ sections = releasenotessections(ui, repo)