changeset 16990:1dbe8a2b1b96

export: add optional -r to synopsis It is not already covered by [OPTION]..., because in this case REV... would need to be marked optional.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 20 Jun 2012 16:46:10 +0200
parents 0b1d15194b3c
children 1aae34f109fd
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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