From e9b84f8dd42f4c22744c0b061b876dc6eaf23722 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 17 Apr 2010 06:47:48 +0200 Subject: [PATCH] Cosmetics. --- selector.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } } -- 2.20.1