Mercurial > hg-old > index.cgi
diff lwlink/main.c @ 187:857cb407229e
Added LWEX0 (LWOS simple binary) target to lwlink
author | lost |
---|---|
date | Sun, 22 Mar 2009 04:24:39 +0000 |
parents | b89adfb0d174 |
children | 42df94f30d82 |
line wrap: on
line diff
--- a/lwlink/main.c Sat Mar 21 19:49:01 2009 +0000 +++ b/lwlink/main.c Sun Mar 22 04:24:39 2009 +0000 @@ -73,6 +73,8 @@ outformat = OUTPUT_DECB; else if (!strcasecmp(arg, "raw")) outformat = OUTPUT_RAW; + else if (!strcasecmp(arg, "lwex0") || !strcasecmp(arg, "lwex")) + outformat = OUTPUT_LWEX0; else { fprintf(stderr, "Invalid output format: %s\n", arg); @@ -118,7 +120,7 @@ { "debug", 'd', 0, 0, "Set debug mode"}, { "format", 'f', "TYPE", 0, - "Select output format: decb, raw"}, + "Select output format: decb, raw, lwex"}, { "decb", 'b', 0, 0, "Generate DECB .bin format output, equivalent of --format=decb"}, { "raw", 'r', 0, 0,