projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[selector.git]
/
selector.c
diff --git
a/selector.c
b/selector.c
index
e2f8f79
..
edff2be
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-45,7
+45,7
@@
#include <getopt.h>
#include <limits.h>
#include <getopt.h>
#include <limits.h>
-#define VERSION "1.1.
1
"
+#define VERSION "1.1.
2
"
#define BUFFER_SIZE 4096
#define BUFFER_SIZE 4096
@@
-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 *));
}
lines = safe_malloc(nb_lines_max * sizeof(char *));