summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-12 20:46:00 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-12 20:46:00 +0000
commit98476c71d2166666b0b61da3a5dd75065ea5f3c1 (patch)
tree7043fc0ae6eb9b26d61498d81b0e3ab344ad90e6 /src/or
parenta4da44c2b915b1260007082306620ccf2c3cf876 (diff)
downloadtor-98476c71d2166666b0b61da3a5dd75065ea5f3c1.tar.gz
tor-98476c71d2166666b0b61da3a5dd75065ea5f3c1.zip
make tor --verify-config closer to working
svn:r6137
Diffstat (limited to 'src/or')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index edf2d5f335..39adec0a5c 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -851,7 +851,8 @@ config_get_commandlines(int argc, char **argv, config_line_t **result)
!strcmp(argv[i],"--hash-password")) {
i += 2; /* command-line option with argument. ignore them. */
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. */
continue;
} else if (!strcmp(argv[i],"--nt-service")) {