mirror of
https://github.com/NixOS/nix
synced 2025-07-05 12:21:48 +02:00
List deprecated option aliases in the docs
This commit is contained in:
parent
acb99f03f9
commit
3c4f8c9175
2 changed files with 8 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue