1
This commit is contained in:
Alex Yatskov 2016-12-03 18:46:57 -08:00
parent 86f975d791
commit 6b2e664738

7
main.c
View File

@ -52,14 +52,13 @@ int main(int argc, char *argv[]) {
flags |= FLAG_FONT_TAGS; flags |= FLAG_FONT_TAGS;
break; break;
default: default:
abort(); return 1;
break;
} }
} }
if (optind == argc) { if (optind == argc) {
fprintf(stderr, "dictionary must be provided provided\n"); fprintf(stderr, "%s: dictionary path must be provided provided\n", argv[0]);
abort(); return 1;
} }
dict_path = argv[optind]; dict_path = argv[optind];