Mercurial > hg
diff mercurial/help/templates.txt @ 21943:8534e670f4ee stable
help: use --template to specify existing style
--style is deprecated since 3a35ba2681ec and 870d60294b04.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 21 Jul 2014 11:44:20 +0900 |
parents | 8f23f8096606 |
children | d603e7333281 |
line wrap: on
line diff
--- a/mercurial/help/templates.txt Thu Jul 24 23:39:25 2014 +0900 +++ b/mercurial/help/templates.txt Mon Jul 21 11:44:20 2014 +0900 @@ -1,7 +1,6 @@ Mercurial allows you to customize output of commands through -templates. You can either pass in a template from the command -line, via the --template option, or select an existing -template-style (--style). +templates. You can either pass in a template or select an existing +template-style from the command line, via the --template option. You can customize output for any "log-like" command: log, outgoing, incoming, tip, parents, heads and glog. @@ -11,7 +10,7 @@ and xml. Usage:: - $ hg log -r1 --style changelog + $ hg log -r1 --template changelog A template is a piece of text, with markup to invoke variable expansion::