Mercurial > hg
changeset 26190:29d29a82263f
bookmark: improve ambiguous documentation for rename
author | timeless@mozdev.org |
---|---|
date | Fri, 04 Sep 2015 11:30:38 -0400 |
parents | 663fbc336e22 |
children | 39a0b11158d8 |
files | mercurial/commands.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Sep 06 11:28:48 2015 -0700 +++ b/mercurial/commands.py Fri Sep 04 11:30:38 2015 -0400 @@ -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]...')) @@ -916,6 +916,10 @@ hg book -r .^ tested + - rename bookmark turkey to dinner:: + + hg book -m turkey dinner + - move the '@' bookmark from another branch:: hg book -f @