mercurial/help/templates.txt
changeset 25004 e264d4c9629b
parent 24587 76c0b4cfa039
child 25348 f26efa4f0eff
--- a/mercurial/help/templates.txt	Sat May 02 15:49:38 2015 +0900
+++ b/mercurial/help/templates.txt	Sat May 02 15:51:57 2015 +0900
@@ -67,7 +67,7 @@
 
 - Output the description set to a fill-width of 30::
 
-   $ hg log -r 0 --template "{fill(desc, '30')}"
+   $ hg log -r 0 --template "{fill(desc, 30)}"
 
 - Use a conditional to test for the default branch::
 
@@ -104,4 +104,4 @@
 
 - Print the first word of each line of a commit message::
 
-   $ hg log --template "{word(\"0\", desc)}\n"
+   $ hg log --template "{word(0, desc)}\n"