mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
Fix duplicated error message for unknown option
This commit is contained in:
@@ -3004,7 +3004,7 @@ int main(int argc, char **argv) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
if (i != 'H') {
|
if (i != 'H' && i != '?') {
|
||||||
fprintf(stderr, "Unknown option -%c\n", i);
|
fprintf(stderr, "Unknown option -%c\n", i);
|
||||||
}
|
}
|
||||||
int width = 7 + strlen(argv[0]);
|
int width = 7 + strlen(argv[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user