fdde523e86f1

Convert help text to reST format.
[view raw] [browse files]
author Martin Geisler <mg@lazybytes.net>
date Sun, 08 Nov 2009 22:31:24 +0100
parents 342f1099aabc
children f9616d40630b
branches/tags (none)
files prompt.py

Changes

--- a/prompt.py	Sun Nov 08 15:55:18 2009 -0500
+++ b/prompt.py	Sun Nov 08 22:31:24 2009 +0100
@@ -42,19 +42,19 @@
     '''get repository information for use in a shell prompt
     
     Take a string and output it for use in a shell prompt. You can use 
-    keywords in curly braces:
+    keywords in curly braces::
     
         $ hg prompt "currently on {branch}"
         currently on default
     
-    You can also use an extended form of any keyword:
+    You can also use an extended form of any keyword::
     
         {optional text here{keyword}more optional text}
     
     This will expand the inner {keyword} and output it along with the extra
     text only if the {keyword} expands successfully.  This is useful if you
     have a keyword that may not always apply to the current state and you 
-    have some text that you would like to see only if it is appropriate:
+    have some text that you would like to see only if it is appropriate::
     
         $ hg prompt "currently at {bookmark}"
         currently at 
@@ -327,4 +327,4 @@
         ('', 'cache-outgoing', None, 'used internally by hg-prompt'),
     ],
     'hg prompt STRING')
-}
\ No newline at end of file
+}