bookmarks: Improve documentation
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 25 Oct 2008 19:05:52 +0200
changeset 7257 7fb0e130cf14
parent 7256 df800e004077
child 7258 9bd051efbdd6
bookmarks: Improve documentation
hgext/bookmarks.py
--- a/hgext/bookmarks.py	Sat Oct 25 19:05:52 2008 +0200
+++ b/hgext/bookmarks.py	Sat Oct 25 19:05:52 2008 +0200
@@ -67,10 +67,10 @@
     deleted. It is possible to use bookmark names in 'hg merge' and 'hg
     update' to update to a given bookmark.
 
-    You can use 'hg bookmark [NAME]' to set a bookmark on the current tip
-    with the given name. If you specify a second [NAME] the bookmark is
-    set to the bookmark that has that name. You can also pass revision
-    identifiers to set bookmarks too.
+    You can use 'hg bookmark NAME' to set a bookmark on the current
+    tip with the given name. If you specify a revision using -r REV
+    (where REV may be an existing bookmark), the bookmark is set to
+    that revision.
     '''
     hexfn = ui.debugflag and hex or short
     marks = parse(repo)