[cli] Adding printf while models are being loaded in address parser cli
This commit is contained in:
@@ -45,10 +45,14 @@ int main(int argc, char **argv) {
|
|||||||
address_parser_dir = argv[1];
|
address_parser_dir = argv[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("Loading models...\n");
|
||||||
|
|
||||||
if (!libpostal_setup() || !libpostal_setup_parser()) {
|
if (!libpostal_setup() || !libpostal_setup_parser()) {
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
printf("Welcome to libpostal's address parser.\n\n");
|
printf("Welcome to libpostal's address parser.\n\n");
|
||||||
printf("Type in any address to parse and print the result.\n\n");
|
printf("Type in any address to parse and print the result.\n\n");
|
||||||
printf("Special commands:\n\n");
|
printf("Special commands:\n\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user