summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authoraidanfnv <aidanf@nvidia.com>2025-07-31 17:52:01 -0700
committerGitHub <noreply@github.com>2025-08-01 00:52:01 +0000
commit96346cd67f79fae6b603d720b6d9634c2b89c829 (patch)
treeb54200bafdd441cd35adcf61a0a2e96735a8c7fd /source/core
parente313300d2446c2efdc1d221304a6b6454fe7fa54 (diff)
Omit "Internal" category from default help text output (#8013)
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-command-options-writer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/slang-command-options-writer.cpp b/source/core/slang-command-options-writer.cpp
index a0308c971..333f84d04 100644
--- a/source/core/slang-command-options-writer.cpp
+++ b/source/core/slang-command-options-writer.cpp
@@ -504,8 +504,8 @@ void TextCommandOptionsWriter::appendDescriptionImpl()
{
const auto& category = categories[categoryIndex];
- // Omit the value categories
- if (category.kind != CategoryKind::Value)
+ // Omit the value categories and the "Internal" category for text output
+ if (category.kind != CategoryKind::Value && category.name != toSlice("Internal"))
{
_appendDescriptionForCategory(categoryIndex);
}