projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
285851f
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Sat, 17 Jul 2010 19:59:04 +0000
(21:59 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 17 Jul 2010 19:59:04 +0000
(21:59 +0200)
selector.c
patch
|
blob
|
history
diff --git
a/selector.c
b/selector.c
index
803d3c9
..
edff2be
100644
(file)
--- 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 *));