From 5344817c3de946e0636f6f671749c464dc4c02f2 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Fri, 16 Dec 2011 16:51:50 +0000 Subject: Fixed help message in klee-stats. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@146741 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/klee-stats/klee-stats | 12 +++++++++--- 1 file 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, -- cgit 1.4.1