# HG changeset patch # User Thomas Arendsen Hein # Date 2012-06-20 14:46:10 # Node ID 1dbe8a2b1b9682e7a6edabba4983a2403ef2532e # Parent 0b1d15194b3c21a827bdd1e086db161b85247b56 export: add optional -r to synopsis It is not already covered by [OPTION]..., because in this case REV... would need to be marked optional. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2492,7 +2492,7 @@ def diff(ui, repo, *pats, **opts): ('', 'switch-parent', None, _('diff against the second parent')), ('r', 'rev', [], _('revisions to export'), _('REV')), ] + diffopts, - _('[OPTION]... [-o OUTFILESPEC] REV...')) + _('[OPTION]... [-o OUTFILESPEC] [-r] REV...')) def export(ui, repo, *changesets, **opts): """dump the header and diffs for one or more changesets