export: add optional -r to synopsis
It is not already covered by [OPTION]..., because in this case REV... would
need to be marked optional.
--- 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