mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
return successfully on --help (issue #626)
This commit is contained in:
parent
361dc48c62
commit
957ffe6a42
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -423,7 +423,7 @@ sexp run_main (int argc, char **argv) {
|
|||
i++;
|
||||
goto done_options;
|
||||
}
|
||||
sexp_usage(1);
|
||||
sexp_usage(strcmp(argv[i]+2, "help") != 0);
|
||||
case 'h':
|
||||
arg = ((argv[i][2] == '\0') ? argv[++i] : argv[i]+2);
|
||||
check_nonull_arg('h', arg);
|
||||
|
|
Loading…
Add table
Reference in a new issue