Patchwork bookmark: improve ambiguous documentation for rename

login
register
mail settings
Submitter timeless@mozdev.org
Date Sept. 4, 2015, 3:33 p.m.
Message ID <c23d6d95c8dd216013d5.1441380817@waste.org>
Download mbox | patch
Permalink /patch/10407/
State Superseded
Headers show

Comments

timeless@mozdev.org - Sept. 4, 2015, 3:33 p.m.
# HG changeset patch
# User timeless@mozdev.org
# Date 1441380638 14400
#      Fri Sep 04 11:30:38 2015 -0400
# Node ID c23d6d95c8dd216013d5628ef5e2ba486da84034
# Parent  7187f6e923d55cf6b7e6910d24645f303db671ee
bookmark: improve ambiguous documentation for rename

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -875,7 +875,7 @@ 
     [('f', 'force', False, _('force')),
     ('r', 'rev', '', _('revision'), _('REV')),
     ('d', 'delete', False, _('delete a given bookmark')),
-    ('m', 'rename', '', _('rename a given bookmark'), _('NAME')),
+    ('m', 'rename', '', _('rename a given bookmark'), _('OLD')),
     ('i', 'inactive', False, _('mark a bookmark inactive')),
     ] + formatteropts,
     _('hg bookmarks [OPTIONS]... [NAME]...'))