Add help text for critic command
authorGregory Szorc <gps@mozilla.com>
Tue, 23 Jul 2013 10:59:37 -0700
changeset 25 7179b973f36182dffccd6dcd28026ddafdefb9a9
parent 24 65f26af28bd40d7c441b2c5a9a1dbc217bcb0624
child 26 82957e785b1727b272dd1f7b199cc032b7dc48ba
push id11
push usergszorc@mozilla.com
push dateTue, 23 Jul 2013 18:00:05 +0000
Add help text for critic command
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -343,16 +343,21 @@ def tbpl(ui, repo, tree=None, rev=None, 
 @command('critic',
     [('e', 'entire', False,
         _('Report on entire file content, not just changed parts'),
         ''
     )],
     _('hg critic [REV]')
 )
 def critic(ui, repo, rev='.', entire=False, **opts):
+    """Perform a critique of a changeset.
+
+    This will perform static analysis on a given changeset and report any
+    issues found.
+    """
     critique(ui, repo, node=rev, entire=entire, **opts)
 
 
 def critic_hook(ui, repo, node=None, **opts):
     critique(ui, repo, node=node, **opts)
     return 0