diff options
author | Arthur Gautier <arthur.gautier@arista.com> | 2021-12-01 16:08:23 +0100 |
---|---|---|
committer | Arthur Gautier <arthur.gautier@arista.com> | 2021-12-01 17:25:58 +0100 |
commit | 21520297dad8a198004e4551808a4818a8de7ddd (patch) | |
tree | a69a5c19b1528a88414401c3066e266c0983ebb5 /src/libutil/abstract-setting-to-json.hh | |
parent | 1a9bfdc4ca0c2786b02801540432badbafa3a811 (diff) |
reproducibility: hide non-reproducible settings from manual
Because the manual is generated from default values which are themselves
generated from various sources (cpuid, bios settings (kvm), number of
cores). This commit hides non-reproducible settings from the manual
output.
Diffstat (limited to 'src/libutil/abstract-setting-to-json.hh')
-rw-r--r-- | src/libutil/abstract-setting-to-json.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/abstract-setting-to-json.hh b/src/libutil/abstract-setting-to-json.hh index b3fbc84f7..2d82b54e7 100644 --- a/src/libutil/abstract-setting-to-json.hh +++ b/src/libutil/abstract-setting-to-json.hh @@ -10,6 +10,7 @@ std::map<std::string, nlohmann::json> BaseSetting<T>::toJSONObject() auto obj = AbstractSetting::toJSONObject(); obj.emplace("value", value); obj.emplace("defaultValue", defaultValue); + obj.emplace("documentDefault", documentDefault); return obj; } } |