releasenotes: update docstrings with information on additional flags
authorRishabh Madan <rishabhmadan96@gmail.com>
Tue, 29 Aug 2017 00:21:25 +0530
changeset 34341 01e8ab4b6573
parent 34340 741a511492d3
child 34342 b3538c03a804
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
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)