Unlowercase command help
authorChristian Ebert <blacktrash@gmx.net>
Sat, 06 Oct 2007 16:56:14 +0200
changeset 260 af9ddafeeb96
parent 259 76402fc0fb58
child 261 28e64bebc298
Unlowercase command help
hgkw/keyword.py
--- a/hgkw/keyword.py	Sat Oct 06 16:19:04 2007 +0200
+++ b/hgkw/keyword.py	Sat Oct 06 16:56:14 2007 +0200
@@ -351,8 +351,8 @@
 def shrink(ui, repo, *args):
     '''revert expanded keywords in working directory
 
-    run before changing/disabling active keywords
-    or if you experience problems with "hg import" or "hg merge"
+    Run before changing/disabling active keywords
+    or if you experience problems with "hg import" or "hg merge".
     '''
     # 4th argument sets expansion to False
     _overwrite(ui, repo, args, False)
@@ -360,7 +360,7 @@
 def expand(ui, repo, *args):
     '''expand keywords in working directory
 
-    run after (re)enabling keyword expansion
+    Run after (re)enabling keyword expansion.
     '''
     # 4th argument sets expansion to True
     _overwrite(ui, repo, args, True)
@@ -368,7 +368,8 @@
 def files(ui, repo):
     '''print files currently configured for keyword expansion
 
-    crosscheck which files are matched by [keyword] config patterns
+    Crosscheck which files in working directory
+    are matched by [keyword] config patterns.
     '''
     kwfmatcher = _keywordmatcher(ui, repo)
     if kwfmatcher is not None:
@@ -383,12 +384,13 @@
 def demo(ui, repo, *args, **opts):
     '''print [keywordmaps] configuration and an expansion example
 
-    show current, custom, or default keyword template maps and their expansion
+    Show current, custom, or default keyword template maps
+    and their expansion.
 
-    extend current configuration by specifying maps as arguments
-    and optionally by reading from an additional hgrc file
+    Extend current configuration by specifying maps as arguments
+    and optionally by reading from an additional hgrc file.
 
-    override current keyword template maps with "default" option
+    Override current keyword template maps with "default" option.
     '''
     def _demostatus(stat):
         ui.status(_('\n\t%s\n') % stat)