forked from Lephenixnoir/fxos
Change debugger to disassembler in --help
This commit is contained in:
parent
b6fbc352e0
commit
446590448b
|
@ -246,7 +246,7 @@ static void parse_options(int argc, char **argv) {
|
|||
|
||||
if (show_help) {
|
||||
printf("Usage: %s [OPTION]... [FILE]\n", argv[0]);
|
||||
printf("Open the fxos debugger, optionally with [FILE] loaded into a new empty space with ROM and ROM_P2\n");
|
||||
printf("Open the fxos disassembler, optionally with [FILE] loaded into a new empty space with ROM and ROM_P2\n");
|
||||
printf("Options:\n");
|
||||
printf(" -e, --execute=CMD\texecute CMD and exit\n");
|
||||
printf(" --norc\t\tdo not execute any fxosrc files\n");
|
||||
|
@ -254,9 +254,6 @@ static void parse_options(int argc, char **argv) {
|
|||
exit(0);
|
||||
}
|
||||
|
||||
// if (norc)
|
||||
// option_index++;
|
||||
|
||||
if (optind < argc) {
|
||||
if ((argc - optind) > 1) {
|
||||
printf("%s only supports 1 positional argument, FILE.\n", argv[0]);
|
||||
|
|
Loading…
Reference in New Issue