aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_id.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-13 21:08:17 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-13 21:14:45 -0800
commitfff8a3b796153a2f5f5742cbfcfe55a31bb9ba60 (patch)
tree65bdff5f1c999639a196e4a2663fa0f2d7f58330 /paludis/repositories/e/ebuild_id.cc
parent1684b446715907515359cd310c1e7bd93bad5a2e (diff)
downloadpaludis-fff8a3b796153a2f5f5742cbfcfe55a31bb9ba60.tar.gz
paludis-fff8a3b796153a2f5f5742cbfcfe55a31bb9ba60.tar.xz
support hiding suboptions
Introduce the concept of `SUBOPTIONS_NO_DESCRIBE` to the exheres profile. This allows suboptions to be silenced by default from the description list. This is useful in rare scenarios, such as `linguas`, where the suboption is common, has a large set of values. In such a case, the output of the descriptions would obscure the actual resolution and useful options. This new profile variable permits the profile to indicate to the "frontend" that the description should be squelched. Currently, this is consumed only by the cave frontend.
Diffstat (limited to 'paludis/repositories/e/ebuild_id.cc')
-rw-r--r--paludis/repositories/e/ebuild_id.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 627996ac8..42582cb48 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -1587,6 +1587,7 @@ EbuildID::add_build_options(const std::shared_ptr<Choices> & choices) const
n::consider_added_or_changed() = false,
n::contains_every_value() = false,
n::hidden() = false,
+ n::hide_description() = false,
n::human_name() = canonical_build_options_human_name(),
n::prefix() = canonical_build_options_prefix(),
n::raw_name() = canonical_build_options_raw_name(),