changeset 27254:6ca28c47228a

commit: fix rest syntax of examples This fixes the formatting of help/commit page and silence test-gendoc.t.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 06 Dec 2015 17:16:37 +0900
parents f43988e5954c
children 5606f7d0d063
files mercurial/commands.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
     """