make tor --verify-config closer to working

svn:r6137
This commit is contained in:
Roger Dingledine 2006-03-12 20:46:00 +00:00
parent a4da44c2b9
commit 98476c71d2

View File

@ -851,7 +851,8 @@ config_get_commandlines(int argc, char **argv, config_line_t **result)
!strcmp(argv[i],"--hash-password")) { !strcmp(argv[i],"--hash-password")) {
i += 2; /* command-line option with argument. ignore them. */ i += 2; /* command-line option with argument. ignore them. */
continue; continue;
} else if (!strcmp(argv[i],"--list-fingerprint")) { } else if (!strcmp(argv[i],"--list-fingerprint") ||
!strcmp(argv[i],"--verify-config")) {
i += 1; /* command-line option. ignore it. */ i += 1; /* command-line option. ignore it. */
continue; continue;
} else if (!strcmp(argv[i],"--nt-service")) { } else if (!strcmp(argv[i],"--nt-service")) {