From 41314741d9bfca95abba40e58720b4ce2f2653dd Mon Sep 17 00:00:00 2001 From: aidanfnv Date: Mon, 4 Aug 2025 12:27:36 -0700 Subject: Omit "Repro" category from default help text output (#8032) * Omit "Repro" category from default help text output * format code (#24) Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --------- Co-authored-by: slangbot Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- source/core/slang-command-options-writer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/core/slang-command-options-writer.cpp b/source/core/slang-command-options-writer.cpp index ecb5fa698..8cfade71e 100644 --- a/source/core/slang-command-options-writer.cpp +++ b/source/core/slang-command-options-writer.cpp @@ -504,8 +504,10 @@ void TextCommandOptionsWriter::appendDescriptionImpl() { const auto& category = categories[categoryIndex]; - // Omit the value categories and the "Internal" category for text output - if (category.kind != CategoryKind::Value && category.name != toSlice("Internal")) + // Omit the value categories as well as the "Internal" and "Repro" categories from the text + // output + if (category.kind != CategoryKind::Value && category.name != toSlice("Internal") && + category.name != toSlice("Repro")) { _appendDescriptionForCategory(categoryIndex); } -- cgit v1.2.3