diff options
author | meejah <meejah@meejah.ca> | 2012-04-05 15:17:30 -0600 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-28 15:15:51 -0400 |
commit | 12298901fd6a8ce0608129cf9e65dfc32d161a57 (patch) | |
tree | ebf613a322bd89c249e61563ab0c02e227f05634 /src/or/control.c | |
parent | 58eb3e405d5b7e2a74bd5813e3d3f54ab543bcda (diff) | |
download | tor-12298901fd6a8ce0608129cf9e65dfc32d161a57.tar.gz tor-12298901fd6a8ce0608129cf9e65dfc32d161a57.zip |
add new GETINFO config/defaults
returns the default values for every configuration item, similar
to GETINFO config/names; include a changes entry for it.
Fix for bug 4971
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c index 6675c01b63..0387f4b2ee 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -2123,6 +2123,9 @@ static const getinfo_item_t getinfo_items[] = { PREFIX("config/", config, "Current configuration values."), DOC("config/names", "List of configuration options, types, and documentation."), + DOC("config/defaults", + "List of default values for configuration options. " + "See also config/names"), ITEM("info/names", misc, "List of GETINFO options, types, and documentation."), ITEM("events/names", misc, |