diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-03 10:30:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-09-13 12:36:40 -0400 |
commit | aac4f30d234491d8325b55918647242bb7c40537 (patch) | |
tree | baa59071186b654c82d52642ff970777d7050559 /src/or/control.c | |
parent | 7972af7073a621f3affa69d04bd05e0e432d7309 (diff) | |
download | tor-aac4f30d234491d8325b55918647242bb7c40537.tar.gz tor-aac4f30d234491d8325b55918647242bb7c40537.zip |
Add a --dump-config option to help testing option parsing.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 7034605c20..e97c18d892 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1406,7 +1406,7 @@ getinfo_helper_misc(control_connection_t *conn, const char *question, } else if (!strcmp(question, "config-defaults-file")) { *answer = tor_strdup(get_torrc_fname(1)); } else if (!strcmp(question, "config-text")) { - *answer = options_dump(get_options(), 1); + *answer = options_dump(get_options(), OPTIONS_DUMP_MINIMAL); } else if (!strcmp(question, "info/names")) { *answer = list_getinfo_options(); } else if (!strcmp(question, "dormant")) { |