From 3c4f8c91759ac5ed6a211f8e72b9d4e8438db833 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 20 Aug 2020 11:13:17 +0200 Subject: List deprecated option aliases in the docs --- src/libutil/config.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libutil') 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); } -- cgit v1.2.3