projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
478ab24
)
fixed getopt parameter
author
pk910
<philipp@zoelle1.de>
Thu, 9 Feb 2012 17:01:59 +0000
(18:01 +0100)
committer
pk910
<philipp@zoelle1.de>
Thu, 9 Feb 2012 17:01:59 +0000
(18:01 +0100)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index d9819ca4b96c5388af2ce216717d963f7199cc9e..79043b19452374fe9648859ccc074ca88e94163a 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-168,7
+168,7
@@
int main(int argc, char *argv[]) {
{"version", 0, 0, 'v'},
{0, 0, 0, 0}
};
- while ((c = getopt_long(argc, argv, "
c:dfhkr:v
", options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "
s:fvh
", options, NULL)) != -1) {
switch (c) {
case 's':
print_loglevel = atoi(optarg);