Line 960... |
Line 960... |
"config file (default \"sim.cfg\")");
|
"config file (default \"sim.cfg\")");
|
cfg_file->filename[0] = "sim.cfg";
|
cfg_file->filename[0] = "sim.cfg";
|
nosrv = arg_lit0 (NULL, "nosrv", "do not launch debug server");
|
nosrv = arg_lit0 (NULL, "nosrv", "do not launch debug server");
|
srv = arg_int0 (NULL, "srv", "<n>",
|
srv = arg_int0 (NULL, "srv", "<n>",
|
"launch debug server on port (default random)");
|
"launch debug server on port (default random)");
|
srv->ival[0] = rand () % (65536 - 49152) + 49152;
|
srv->ival[0] = random () % (65536 - 49152) + 49152;
|
srv->hdr.flag |= ARG_HASOPTVALUE;
|
srv->hdr.flag |= ARG_HASOPTVALUE;
|
mem = arg_str0 ("m", "memory", "<n>", "add memory block of <n> bytes");
|
mem = arg_str0 ("m", "memory", "<n>", "add memory block of <n> bytes");
|
dbg = arg_str0 ("d", "debug-config", "<str>", "Debug config string");
|
dbg = arg_str0 ("d", "debug-config", "<str>", "Debug config string");
|
command = arg_lit0 ("i", "interactive", "launch interactive prompt");
|
command = arg_lit0 ("i", "interactive", "launch interactive prompt");
|
quiet = arg_lit0 ("q", "quiet", "minimal message output");
|
quiet = arg_lit0 ("q", "quiet", "minimal message output");
|