From: notaz Date: Sat, 14 Mar 2015 21:47:25 +0000 (+0200) Subject: translate: add some help text X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=315b77eb1daa01b075f6a08fc88a782f89d88dff;p=ia32rtools.git translate: add some help text --- 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; }