diff options
| author | aidanfnv <aidanf@nvidia.com> | 2025-08-04 12:27:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-04 19:27:36 +0000 |
| commit | 41314741d9bfca95abba40e58720b4ce2f2653dd (patch) | |
| tree | 8d19c7bede2c58e05809ceb57869b5342795cf6d /source/core | |
| parent | 3f12964b24f8829a4548f634463492f02b7de913 (diff) | |
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 <ellieh+slangbot@nvidia.com>
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-command-options-writer.cpp | 6 |
1 files 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); } |
