doc/hgrc.5.txt
changeset 3099 09e8aecd8016
parent 3098 c27d1e1798a3
parent 3039 77637938d43d
child 3466 8b55c0ba8048
--- a/doc/hgrc.5.txt	Fri Sep 15 16:00:16 2006 -0500
+++ b/doc/hgrc.5.txt	Fri Sep 15 16:01:16 2006 -0500
@@ -133,6 +133,21 @@
     # them to the working dir
     **.txt = tempfile: unix2dos -n INFILE OUTFILE
 
+defaults::
+  Use the [defaults] section to define command defaults, i.e. the 
+  default options/arguments to pass to the specified commands.
+  
+  The following example makes 'hg log' run in verbose mode, and
+  'hg status' show only the modified files, by default.
+  
+    [defaults]
+    log = -v
+    status = -m
+  
+  The actual commands, instead of their aliases, must be used when 
+  defining command defaults. The command defaults will also be
+  applied to the aliases of the commands defined.
+
 email::
   Settings for extensions that send email messages.
   from;;