From: Francois Fleuret Date: Sat, 17 Jul 2010 19:59:04 +0000 (+0200) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=c06d16d13ad754eae97cb38dd45f684e0d8f1c07;p=selector.git Cosmetics. --- diff --git a/selector.c b/selector.c index 803d3c9..edff2be 100644 --- a/selector.c +++ b/selector.c @@ -980,14 +980,14 @@ int main(int argc, char **argv) { } } - if(show_help || error) { - if(error) { - usage(stderr); - exit(EXIT_FAILURE); - } else { - usage(stdout); - exit(EXIT_SUCCESS); - } + if(error) { + usage(stderr); + exit(EXIT_FAILURE); + } + + if(show_help) { + usage(stdout); + exit(EXIT_SUCCESS); } lines = safe_malloc(nb_lines_max * sizeof(char *));