Browse code

clambc: changed trace to use T, updated docs

Kevin Lin authored on 2014/10/03 05:49:32
Showing 3 changed files
... ...
@@ -60,7 +60,7 @@ static void help(void)
60 60
     printf("    --info                 -i         Print information about bytecode\n");
61 61
     printf("    --printsrc             -p         Print bytecode source\n");
62 62
     printf("    --printbcir            -c         Print IR of bytecode signature\n");
63
-    printf("    --trace <level>        -t         Set bytecode trace level 0..7 (default 7)\n");
63
+    printf("    --trace <level>        -T         Set bytecode trace level 0..7 (default 7)\n");
64 64
     printf("    --no-trace-showsource  -s         Don't show source line during tracing\n");
65 65
     printf("    --bytecode-statistics             Collect and print bytecode execution statistics\n");
66 66
     printf("    file                              file to test\n");
... ...
@@ -33,7 +33,7 @@ Print IR of bytecode signature
33 33
 \fB\-\-input\fR                \fB\-r\fR
34 34
 Input file to run the bytecode on
35 35
 .TP
36
-\fB\-\-trace\fR <level>        \fB\-l\fR
36
+\fB\-\-trace\fR <level>        \fB\-T\fR
37 37
 Set bytecode trace level 0..7 (default 7)
38 38
 .TP
39 39
 \fB\-\-no\-trace\-showsource\fR
... ...
@@ -143,7 +143,7 @@ const struct clam_option __clam_options[] = {
143 143
     { NULL, "printsrc", 'p', CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMBC, "Print source code of bytecode", ""},
144 144
     { NULL, "printbcir", 'c', CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMBC, "Print IR of bytecode signature", ""},
145 145
     { NULL, "input", 'r', CLOPT_TYPE_STRING, NULL, -1, NULL, 0, OPT_CLAMBC, "Input file to run the bytecode n", ""},
146
-    { NULL, "trace", 'l', CLOPT_TYPE_NUMBER, MATCH_NUMBER, 7, NULL, 0, OPT_CLAMBC, "bytecode trace level",""},
146
+    { NULL, "trace", 'T', CLOPT_TYPE_NUMBER, MATCH_NUMBER, 7, NULL, 0, OPT_CLAMBC, "bytecode trace level",""},
147 147
     { NULL, "no-trace-showsource", 's', CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMBC, "Don't show source line during tracing",""},
148 148
 
149 149
     { NULL, "archive-verbose", 'a', CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMSCAN, "", ""},