commit: fix rest syntax of examples
authorYuya Nishihara <yuya@tcha.org>
Sun, 06 Dec 2015 17:16:37 +0900
changeset 27254 6ca28c47228a
parent 27253 f43988e5954c
child 27255 5606f7d0d063
commit: fix rest syntax of examples This fixes the formatting of help/commit page and silence test-gendoc.t.
mercurial/commands.py
--- a/mercurial/commands.py	Sat Dec 05 20:24:39 2015 -0800
+++ b/mercurial/commands.py	Sun Dec 06 17:16:37 2015 +0900
@@ -1590,15 +1590,15 @@
 
       Examples:
 
-      - commit all files ending in .py:
+      - commit all files ending in .py::
 
           hg commit --include "set:**.py"
 
-      - commit all non-binary files:
+      - commit all non-binary files::
 
           hg commit --exclude "set:binary()"
 
-      - amend the current commit and set the date to now:
+      - amend the current commit and set the date to now::
 
           hg commit --amend --date now
     """