bookmarks: improve documentation for --rev option stable
authorNathan Goldbaum <ngoldbau@ucsc.edu>
Wed, 27 Jan 2016 16:16:38 -0600
branchstable
changeset 29899 f0d3c57943801a011d7ec7b8a4b3b8947b004a7f
parent 29898 7b7e16158c3536f32bde6889fabbda7c6fac848c
child 29900 6bce6d925e4569a7b57620d33dc3480d13b3cca1
push id175
push usergszorc@mozilla.com
push dateWed, 10 Feb 2016 01:24:28 +0000
bookmarks: improve documentation for --rev option
mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -963,17 +963,17 @@ def bisect(ui, repo, rev=None, extra=Non
         state['current'] = [node]
         hbisect.save_state(repo, state)
         if not noupdate:
             cmdutil.bailifchanged(repo)
             return hg.clean(repo, node)
 
 @command('bookmarks|bookmark',
     [('f', 'force', False, _('force')),
-    ('r', 'rev', '', _('revision'), _('REV')),
+    ('r', 'rev', '', _('revision for bookmark action'), _('REV')),
     ('d', 'delete', False, _('delete a given bookmark')),
     ('m', 'rename', '', _('rename a given bookmark'), _('OLD')),
     ('i', 'inactive', False, _('mark a bookmark inactive')),
     ] + formatteropts,
     _('hg bookmarks [OPTIONS]... [NAME]...'))
 def bookmark(ui, repo, *names, **opts):
     '''create a new bookmark or list existing bookmarks