# HG changeset patch # User Thomas Arendsen Hein # Date 1340203570 -7200 # 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 -r 0b1d15194b3c -r 1dbe8a2b1b96 mercurial/commands.py --- a/mercurial/commands.py Wed Jun 20 16:44:21 2012 +0200 +++ b/mercurial/commands.py Wed Jun 20 16:46:10 2012 +0200 @@ -2492,7 +2492,7 @@ ('', '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