From 7766227c183e8c2c328f0330ff1e2615cbaee1fa Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Mon, 10 Jun 2013 16:39:44 +0200 Subject: [PATCH] Cosmetics. --- mymail.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/mymail.c b/mymail.c index fd3b4f5..21425a5 100644 --- a/mymail.c +++ b/mymail.c @@ -1152,6 +1152,16 @@ int main(int argc, char **argv) { } } + if(error) { + print_usage(stderr); + exit(EXIT_FAILURE); + } + + if(show_help) { + print_usage(stdout); + exit(EXIT_SUCCESS); + } + /* Set all the values that may defined in the arguments, through environment variables, or hard-coded */ @@ -1175,18 +1185,6 @@ int main(int argc, char **argv) { "MYMAIL_MBOX_PATTERN", 0); - /* Start the processing */ - - if(error) { - print_usage(stderr); - exit(EXIT_FAILURE); - } - - if(show_help) { - print_usage(stdout); - exit(EXIT_SUCCESS); - } - /* mbox indexing */ if(action_index) { -- 2.20.1