summaryrefslogtreecommitdiff
path: root/6/main.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-03-09 09:19:27 -0700
committerOri Bernstein <ori@eigenstate.org>2015-03-09 09:19:41 -0700
commit90c51e292f87d9df082f074f1b90d38d0af3eb10 (patch)
tree6b52a8ec3aec1cde289c20c4dd32badb0a130a0a /6/main.c
parent9bcde4d6e90488b0808f599d80715cfebc70fb9a (diff)
downloadmc-90c51e292f87d9df082f074f1b90d38d0af3eb10.tar.gz
Improve usage message.
Mention what the debug options are, and improve the formatting on them.
Diffstat (limited to '6/main.c')
-rw-r--r--6/main.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/6/main.c b/6/main.c
index db850ae..8b72843 100644
--- a/6/main.c
+++ b/6/main.c
@@ -41,12 +41,13 @@ static void usage(char *prog)
printf("\t-d\tPrint debug dumps. Recognized options: f r p i\n");
printf("\t-G\tGenerate asm in gas syntax\n");
printf("\t-8\tGenerate asm in plan 9 syntax\n");
- printf("\t\t\tf: log folded trees\n");
- printf("\t\t\tl: log lowered pre-cfg trees\n");
- printf("\t\t\tT: log tree immediately\n");
- printf("\t\t\tr: log register allocation activity\n");
- printf("\t\t\ti: log instruction selection activity\n");
- printf("\t\t\tu: log type unifications\n");
+ printf("\t-d opts: additional debug logging. Options are listed below:\n");
+ printf("\t\tf: log folded trees\n");
+ printf("\t\tl: log lowered pre-cfg trees\n");
+ printf("\t\tT: log tree immediately\n");
+ printf("\t\tr: log register allocation activity\n");
+ printf("\t\ti: log instruction selection activity\n");
+ printf("\t\tu: log type unifications\n");
}
static void swapout(char* buf, size_t sz, char* suf) {