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
--- 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)