Improve unknown option error message
The stdlib will already print an error message. Let's just mention --help.
This commit is contained in:
parent
5849b6c14e
commit
7d108448b1
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
break;
|
||||
case '?':
|
||||
fprintf( stderr, "Unknown option\n" );
|
||||
fprintf( stderr, "See --help for a list of options.\n" );
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue