mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
debug info/usage format fixes
This commit is contained in:
parent
704b7ebd76
commit
de9f35eb02
@ -172,7 +172,7 @@ usage(void)
|
|||||||
" -r Runs in restricted mode\n"
|
" -r Runs in restricted mode\n"
|
||||||
" -I Share your internet connection with other nodes\n"
|
" -I Share your internet connection with other nodes\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -c configuration file\n"
|
" -c Configuration file\n"
|
||||||
" -l Enables logging to file\n"
|
" -l Enables logging to file\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -d Debug (Add more ds to get more info)\n"
|
" -d Debug (Add more ds to get more info)\n"
|
||||||
@ -437,6 +437,7 @@ parse_options(int argc, char **argv)
|
|||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'n':
|
case 'n':
|
||||||
|
printf("%s", optarg);
|
||||||
if(strcmp("inet", optarg) == 0 || strcmp("INET", optarg) == 0)
|
if(strcmp("inet", optarg) == 0 || strcmp("INET", optarg) == 0)
|
||||||
netsplit.netsplit_inet_mode = 1;
|
netsplit.netsplit_inet_mode = 1;
|
||||||
if(strcmp("ntk", optarg) == 0 || strcmp("NTK", optarg) == 0)
|
if(strcmp("ntk", optarg) == 0 || strcmp("NTK", optarg) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user