# HG changeset patch # User Yuya Nishihara # Date 2014-07-21 02:44:20 # Node ID 8534e670f4ee3c598b1b0ad4037fcda9647f744a # Parent 64fe488b5179f3ff521b0ed7bb179ea6a9d38a64 help: use --template to specify existing style --style is deprecated since 3a35ba2681ec and 870d60294b04. diff --git a/mercurial/help/templates.txt b/mercurial/help/templates.txt --- a/mercurial/help/templates.txt +++ b/mercurial/help/templates.txt @@ -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 @@ when no explicit preference is passed), 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::