diff mercurial/commands.py @ 10520:75361931884d stable

commands: mention diff -c
author timeless <timeless@mozdev.org>
date Sun, 21 Feb 2010 01:21:17 +0200
parents 98bc3e195720
children 9c0ba837dc65
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Feb 20 20:08:42 2010 +0100
+++ b/mercurial/commands.py	Sun Feb 21 01:21:17 2010 +0200
@@ -1114,6 +1114,9 @@
     revisions are specified, the working directory files are compared
     to its parent.
 
+    Alternatively you can specify -c/--change with a revision to use
+    as a baseline.
+
     Without the -a/--text option, diff will avoid generating diffs of
     files it detects as binary. With -a, diff will generate a diff
     anyway, probably with undesirable results.
@@ -3552,7 +3555,7 @@
          [('r', 'rev', [], _('revision')),
           ('c', 'change', '', _('change made by revision'))
          ] + diffopts + diffopts2 + walkopts,
-         _('[OPTION]... [-r REV1 [-r REV2]] [FILE]...')),
+         _('[OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]...')),
     "^export":
         (export,
          [('o', 'output', '', _('print output to file with formatted name')),