chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document XCode 3.2 import.
[secnet.git]
/
secnet.c
diff --git
a/secnet.c
b/secnet.c
index 36750ec39ae4ffd51979f375d3c37fb9d00e1747..f9808b78b828baf036cd3359bb5246f84bbbe7b4 100644
(file)
--- a/
secnet.c
+++ b/
secnet.c
@@
-62,7
+62,7
@@
static void parse_options(int argc, char **argv)
{"nodetach", 0, 0, 'n'},
{"silent", 0, 0, 'f'},
{"quiet", 0, 0, 'f'},
{"nodetach", 0, 0, 'n'},
{"silent", 0, 0, 'f'},
{"quiet", 0, 0, 'f'},
- {"debug",
1
, 0, 'd'},
+ {"debug",
0
, 0, 'd'},
{"config", 1, 0, 'c'},
{"just-check-config", 0, 0, 'j'},
{"sites-key", 1, 0, 's'},
{"config", 1, 0, 'c'},
{"just-check-config", 0, 0, 'j'},
{"sites-key", 1, 0, 's'},
@@
-87,7
+87,7
@@
static void parse_options(int argc, char **argv)
" -s, --sites-key=name configuration key that "
"specifies active sites\n"
" -n, --nodetach do not run in background\n"
" -s, --sites-key=name configuration key that "
"specifies active sites\n"
" -n, --nodetach do not run in background\n"
- " -d, --debug
=item,... set debug option
s\n"
+ " -d, --debug
output debug message
s\n"
" --help display this help and exit\n"
" --version output version information "
"and exit\n"
" --help display this help and exit\n"
" --version output version information "
"and exit\n"
@@
-141,6
+141,7
@@
static void parse_options(int argc, char **argv)
break;
case '?':
break;
case '?':
+ exit(1);
break;
default:
break;
default: