#687194: cubicweb-ctl exlog : fix help message stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 26 Feb 2010 07:26:47 +0100
branchstable
changeset 4708 2bd3d03721f3
parent 4707 d8206e0d1838
child 4709 6a71fc0b4274
#687194: cubicweb-ctl exlog : fix help message
devtools/devctl.py
--- a/devtools/devctl.py	Fri Feb 26 07:08:11 2010 +0100
+++ b/devtools/devctl.py	Fri Feb 26 07:26:47 2010 +0100
@@ -575,17 +575,16 @@
 class ExamineLogCommand(Command):
     """Examine a rql log file.
 
-    usage: python exlog.py < rql.log
-
     will print out the following table
 
       total execution time || number of occurences || rql query
 
     sorted by descending total execution time
 
-    chances are the lines at the top are the ones that will bring
-    the higher benefit after optimisation. Start there.
+    chances are the lines at the top are the ones that will bring the higher
+    benefit after optimisation. Start there.
     """
+    arguments = '< rql.log'
     name = 'exlog'
     options = (
         )