}
} else {
fprintf(stderr,
- "Selector: Empty integer value in `%s'.\n", string);
+ "Selector: Empty value in `%s'.\n", string);
exit(EXIT_FAILURE);
}
} else {
}
}
-void print_help(FILE *out) {
+void usage(FILE *out) {
fprintf(out, "Selector version %s (%s)\n", VERSION, UNAME);
fprintf(out, "Written by Francois Fleuret <francois@fleuret.org>.\n");
if(show_help || error) {
if(error) {
- print_help(stderr);
+ usage(stderr);
exit(EXIT_FAILURE);
} else {
- print_help(stdout);
+ usage(stdout);
exit(EXIT_SUCCESS);
}
}