From: Francois Fleuret Date: Sat, 17 Apr 2010 04:47:48 +0000 (+0200) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9b84f8dd42f4c22744c0b061b876dc6eaf23722;p=selector.git Cosmetics. --- diff --git a/selector.c b/selector.c index 1b18ba3..38c62ac 100644 --- a/selector.c +++ b/selector.c @@ -140,7 +140,7 @@ void str_to_positive_integers(char *string, int *values, int nb) { } } else { fprintf(stderr, - "Selector: Empty integer value in `%s'.\n", string); + "Selector: Empty value in `%s'.\n", string); exit(EXIT_FAILURE); } } else { @@ -160,7 +160,7 @@ void error_feedback() { } } -void print_help(FILE *out) { +void usage(FILE *out) { fprintf(out, "Selector version %s (%s)\n", VERSION, UNAME); fprintf(out, "Written by Francois Fleuret .\n"); @@ -940,10 +940,10 @@ int main(int argc, char **argv) { if(show_help || error) { if(error) { - print_help(stderr); + usage(stderr); exit(EXIT_FAILURE); } else { - print_help(stdout); + usage(stdout); exit(EXIT_SUCCESS); } }