Mercurial > hg > index.cgi
comparison lwasm/main.c @ 444:141a1beb98ae
Improve usage for --format for lwasm
Add missing options to the usage message for --format in lwasm. Thanks to
Mark R V Murray <mark@grondar.org> for this fix.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 27 Nov 2017 23:11:27 -0700 |
parents | 61580fc48f98 |
children | 469a130e7029 |
comparison
equal
deleted
inserted
replaced
443:999ae00d0919 | 444:141a1beb98ae |
---|---|
42 | 42 |
43 static struct lw_cmdline_options options[] = | 43 static struct lw_cmdline_options options[] = |
44 { | 44 { |
45 { "output", 'o', "FILE", 0, "Output to FILE"}, | 45 { "output", 'o', "FILE", 0, "Output to FILE"}, |
46 { "debug", 'd', "LEVEL", lw_cmdline_opt_optional, "Set debug mode"}, | 46 { "debug", 'd', "LEVEL", lw_cmdline_opt_optional, "Set debug mode"}, |
47 { "format", 'f', "TYPE", 0, "Select output format: decb, basic, raw, obj, os9"}, | 47 { "format", 'f', "TYPE", 0, "Select output format: decb, basic, raw, obj, os9, ihex, srec"}, |
48 { "list", 'l', "FILE", lw_cmdline_opt_optional, "Generate list [to FILE]"}, | 48 { "list", 'l', "FILE", lw_cmdline_opt_optional, "Generate list [to FILE]"}, |
49 { "list-nofiles", 0x104, 0, 0, "Omit file names in list output"}, | 49 { "list-nofiles", 0x104, 0, 0, "Omit file names in list output"}, |
50 { "symbols", 's', 0, lw_cmdline_opt_optional, "Generate symbol list in listing, no effect without --list"}, | 50 { "symbols", 's', 0, lw_cmdline_opt_optional, "Generate symbol list in listing, no effect without --list"}, |
51 { "symbols-nolocals", 0x103, 0, lw_cmdline_opt_optional, "Same as --symbols but with local labels ignored"}, | 51 { "symbols-nolocals", 0x103, 0, lw_cmdline_opt_optional, "Same as --symbols but with local labels ignored"}, |
52 { "tabs", 't', "WIDTH", 0, "Set tab spacing in listing (0=don't expand tabs)" }, | 52 { "tabs", 't', "WIDTH", 0, "Set tab spacing in listing (0=don't expand tabs)" }, |