hgrc.5: document positional arguments in aliases
authorMartin Geisler <mg@aragost.com>
Mon, 09 May 2011 11:01:45 +0200
changeset 14277 4d891ed9a6af
parent 14276 7f16ff9e45b4
child 14278 59c820a6ca79
hgrc.5: document positional arguments in aliases
doc/hgrc.5.txt
--- a/doc/hgrc.5.txt	Mon May 09 10:52:08 2011 +0200
+++ b/doc/hgrc.5.txt	Mon May 09 11:01:45 2011 +0200
@@ -181,7 +181,11 @@
 """""""""
 Defines command aliases.
 Aliases allow you to define your own commands in terms of other
-commands (or aliases), optionally including arguments.
+commands (or aliases), optionally including arguments. Positional
+arguments in the form of ``$1``, ``$2``, etc in the alias definition
+are expanded by Mercurial before execution. Positional arguments not
+already used by ``$N`` in the definition are put at the end of the
+command to be executed.
 
 Alias definitions consist of lines of the form::