From 315b77eb1daa01b075f6a08fc88a782f89d88dff Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 14 Mar 2015 23:47:25 +0200 Subject: [PATCH] translate: add some help text --- tools/translate.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/translate.c b/tools/translate.c index e43da7c..33d63e5 100644 --- a/tools/translate.c +++ b/tools/translate.c @@ -6455,8 +6455,14 @@ int main(int argc, char *argv[]) } if (argc < arg + 3) { - printf("usage:\n%s [-v] [-rf] [-m] <.c> <.asm> [rlist]*\n" - "%s -hdr <.asm> [rlist]*\n", + printf("usage:\n%s [-v] [-rf] [-m] <.c> <.asm> [rlist]*\n" + "%s -hdr <.asm> [rlist]*\n" + "options:\n" + " -hdr - header generation mode\n" + " -rf - allow unannotated indirect calls\n" + " -m - allow multiple .text sections\n" + "[rlist] is a file with function names to skip," + " one per line\n", argv[0], argv[0]); return 1; } -- 2.39.5