rebase: remove second broken synopsis line (issue3172) stable
authorPatrick Mezard <patrick@mezard.eu>
Tue, 31 Jul 2012 18:18:26 +0200
branchstable
changeset 17325 e4db509c08ec
parent 17324 9f94358f9f93
child 17326 23b2ee0f758d
rebase: remove second broken synopsis line (issue3172) Displaying multiple synopsis in online help has been broken since Matt RST refactoring, around ff26712a0c50. Rebase help is apparently the only one using this trick, just drop the second synopsis and assume people will understand as with graft help.
hgext/rebase.py
--- a/hgext/rebase.py	Sat Jul 28 22:40:30 2012 +0300
+++ b/hgext/rebase.py	Tue Jul 31 18:18:26 2012 +0200
@@ -53,8 +53,7 @@
     ('c', 'continue', False, _('continue an interrupted rebase')),
     ('a', 'abort', False, _('abort an interrupted rebase'))] +
      templateopts,
-    _('hg rebase [-s REV | -b REV] [-d REV] [options]\n'
-      'hg rebase {-a|-c}'))
+    _('[-s REV | -b REV] [-d REV] [OPTION]'))
 def rebase(ui, repo, **opts):
     """move changeset (and descendants) to a different branch