diff options
-rw-r--r-- | test/regression/2017-03-23-early-exit-log-stats.c | 2 | ||||
-rwxr-xr-x | tools/klee-stats/klee-stats | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/regression/2017-03-23-early-exit-log-stats.c b/test/regression/2017-03-23-early-exit-log-stats.c index 3a76b9f8..6fb3d023 100644 --- a/test/regression/2017-03-23-early-exit-log-stats.c +++ b/test/regression/2017-03-23-early-exit-log-stats.c @@ -2,7 +2,7 @@ // RUN: rm -rf %t.klee-out // Delay writing instructions so that we ensure on exit that flush happens // RUN: not %klee --output-dir=%t.klee-out -exit-on-error -stats-write-interval=0 -stats-write-after-instructions=999999 -stats-commit-after=1 %t.bc 2> %t.log -// RUN: klee-stats -to-csv %t.klee-out > %t.stats.csv +// RUN: klee-stats --to-csv %t.klee-out > %t.stats.csv // RUN: FileCheck -check-prefix=CHECK-KLEE -input-file=%t.log %s // RUN: FileCheck -check-prefix=CHECK-STATS -input-file=%t.stats.csv %s #include "klee/klee.h" diff --git a/tools/klee-stats/klee-stats b/tools/klee-stats/klee-stats index c0171343..2aafb1fa 100755 --- a/tools/klee-stats/klee-stats +++ b/tools/klee-stats/klee-stats @@ -22,7 +22,7 @@ try: except: print('Error: Package "tabulate" required for table formatting. ' 'Please install it using "pip" or your package manager.' - 'You can still use -grafana and -to-csv without tabulate.', + 'You can still use --grafana and --to-csv without tabulate.', file=sys.stderr) Legend = [ @@ -229,10 +229,10 @@ def main(): choices=['klee'] + list(_table_formats.keys()), dest='tableFormat', default='klee', help='Table format for the summary.') - parser.add_argument('-to-csv', + parser.add_argument('--to-csv', action='store_true', dest='toCsv', help='Output stats as comma-separated values (CSV)') - parser.add_argument('-grafana', + parser.add_argument('--grafana', action='store_true', dest='grafana', help='Start a grafana web server') |