about summary refs log tree commit diff homepage
path: root/tools/klee-stats
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2011-12-16 16:51:50 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2011-12-16 16:51:50 +0000
commit5344817c3de946e0636f6f671749c464dc4c02f2 (patch)
treef5c63506a9134ab7a82d81fbdaa2539a75fbffd7 /tools/klee-stats
parent825b64d0bf4c4076f5b9d2fb82c087ee3ad72088 (diff)
downloadklee-5344817c3de946e0636f6f671749c464dc4c02f2.tar.gz
Fixed help message in klee-stats.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@146741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/klee-stats')
-rwxr-xr-xtools/klee-stats/klee-stats12
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/klee-stats/klee-stats b/tools/klee-stats/klee-stats
index 503215f6..fac29d19 100755
--- a/tools/klee-stats/klee-stats
+++ b/tools/klee-stats/klee-stats
@@ -123,8 +123,13 @@ def printTable(table):
 
 def main(args):
     from optparse import OptionParser
-    op = OptionParser(usage="usage: %prog [options] directories",
-                      epilog="""\
+
+    class ParserWithNewLines(OptionParser):
+        def format_epilog(self, formatter):
+            return self.epilog
+
+    op = ParserWithNewLines(usage="usage: %prog [options] directories",
+                            epilog="""\
 LEGEND
 ------
 Instrs:  Number of executed instructions
@@ -138,7 +143,8 @@ Mem:     Megabytes of memory currently used
 Queries: Number of queries issued to STP
 AvgQC:   Average number of query constructs per query
 Tcex:    Time spent in the counterexample caching code (%)
-Tfork:   Time spent forking (%)""")
+Tfork:   Time spent forking (%)
+""")
 
     op.add_option('', '--print-more', dest='printMore',
                   action='store_true', default=False,