diff options
Diffstat (limited to 'sim/common/sim-options.c')
-rw-r--r-- | sim/common/sim-options.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c index b726987..0b4d4ee 100644 --- a/sim/common/sim-options.c +++ b/sim/common/sim-options.c @@ -515,7 +515,7 @@ dup_arg_p (const char *arg) arg_table[hash] = arg; return 0; } - + /* Called by sim_open to parse the arguments. */ SIM_RC @@ -637,7 +637,7 @@ sim_parse_args (SIM_DESC sd, char **argv) } } } - + /* Terminate the short and long option lists. */ *p = 0; lp->name = NULL; @@ -734,7 +734,7 @@ print_help (SIM_DESC sd, sim_cpu *cpu, const struct option_list *ol, int is_comm } while (OPTION_VALID_P (o) && o->doc == NULL); } - + /* list any long options (aliases) for the current OPT */ o = opt; do @@ -921,7 +921,7 @@ sim_args_command (SIM_DESC sd, char *cmd) /* something to do? */ if (cmd == NULL) return SIM_RC_OK; /* FIXME - perhaps help would be better */ - + if (cmd [0] == '-') { /* user specified -<opt> ... form? */ @@ -1012,7 +1012,7 @@ sim_args_command (SIM_DESC sd, char *cmd) freeargv (argv); } - + /* didn't find anything that remotly matched */ return SIM_RC_FAIL; } |