aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-08-20 11:13:17 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-08-20 11:13:17 +0200
commit3c4f8c91759ac5ed6a211f8e72b9d4e8438db833 (patch)
treec72f6dfd6258cb2ee606aa833a5f7b981e014858 /src
parentacb99f03f963d00670e5a286c76a92d022ef44b0 (diff)
List deprecated option aliases in the docs
Diffstat (limited to 'src')
-rw-r--r--src/libutil/config.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc
index 4c5b80d49..e5297c653 100644
--- a/src/libutil/config.cc
+++ b/src/libutil/config.cc
@@ -139,6 +139,7 @@ nlohmann::json Config::toJSON()
if (!s.second.isAlias) {
auto obj = nlohmann::json::object();
obj.emplace("description", s.second.setting->description);
+ obj.emplace("aliases", s.second.setting->aliases);
obj.emplace("value", s.second.setting->toJSON());
res.emplace(s.first, obj);
}