diff states.py @ 33:dca86448d736

Add some doc.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Mon, 01 Aug 2011 14:12:48 +0200
parents 1fef89f56588
children
line wrap: on
line diff
--- a/states.py	Fri Jul 29 18:54:05 2011 +0200
+++ b/states.py	Mon Aug 01 14:12:48 2011 +0200
@@ -123,7 +123,16 @@
 
 
 def cmdstates(ui, repo, *states, **opt):
-    """show enabled states"""
+    """view and modify activated states.
+
+    With no argument, list activated state.
+
+    With argument, activate the state in argument.
+
+    With argument plus the --off switch, deactivate the state in argument.
+
+    note: published state are alway activated."""
+
     if not states:
         for st in sorted(repo._enabledstates):
             ui.write('%s\n' % st)