Improve unknown option error message

The stdlib will already print an error message. Let's just mention
--help.
This commit is contained in:
Simon Ser 2021-09-15 13:40:59 +02:00
parent 5849b6c14e
commit 7d108448b1

View file

@ -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;
}
}