projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a5c8835
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 10 Jun 2013 14:39:44 +0000
(16:39 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 10 Jun 2013 14:39:44 +0000
(16:39 +0200)
mymail.c
patch
|
blob
|
history
diff --git
a/mymail.c
b/mymail.c
index
fd3b4f5
..
21425a5
100644
(file)
--- 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 */
/* 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);
"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) {
/* mbox indexing */
if(action_index) {