Browse Source

debug info/usage format fixes

MissValeska 9 years ago
parent
commit
de9f35eb02
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/netsukuku.c

+ 2
- 1
src/netsukuku.c View File

@@ -172,7 +172,7 @@ usage(void)
172 172
 		   " -r	Runs in restricted mode\n"
173 173
 		   " -I	Share your internet connection with other nodes\n"
174 174
 		   "\n"
175
-		   " -c	configuration file\n"
175
+		   " -c	Configuration file\n"
176 176
 		   " -l	Enables logging to file\n"
177 177
 		   "\n"
178 178
 		   " -d	Debug (Add more ds to get more info)\n"
@@ -437,6 +437,7 @@ parse_options(int argc, char **argv)
437 437
 
438 438
 		switch (c) {
439 439
                 case 'n':
440
+                    printf("%s", optarg);
440 441
                     if(strcmp("inet", optarg) == 0 || strcmp("INET", optarg) == 0)
441 442
                         netsplit.netsplit_inet_mode = 1;
442 443
                     if(strcmp("ntk", optarg) == 0 || strcmp("NTK", optarg) == 0)

Loading…
Cancel
Save