export: add optional -r to synopsis
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 20 Jun 2012 16:46:10 +0200
changeset 16990 1dbe8a2b1b96
parent 16989 0b1d15194b3c
child 16991 1aae34f109fd
export: add optional -r to synopsis It is not already covered by [OPTION]..., because in this case REV... would need to be marked optional.
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