diff options
| author | aidanfnv <aidanf@nvidia.com> | 2025-07-31 18:23:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-01 01:23:21 +0000 |
| commit | 5e24630674e52cc9a340aa05f8f36790f0df66c4 (patch) | |
| tree | fdc79146167a549cbc5a0215aae340f08312eb2d | |
| parent | 96346cd67f79fae6b603d720b6d9634c2b89c829 (diff) | |
Omit listing values in slangc -h cmdline output, show how to list them seperately (#8012)
* Omit listing values in slangc -h cmdline output, show how to list them seperately
* format code (#22)
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>
| -rw-r--r-- | source/core/slang-command-options-writer.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source/core/slang-command-options-writer.cpp b/source/core/slang-command-options-writer.cpp index 333f84d04..ecb5fa698 100644 --- a/source/core/slang-command-options-writer.cpp +++ b/source/core/slang-command-options-writer.cpp @@ -599,14 +599,9 @@ void TextCommandOptionsWriter::_appendDescriptionForCategory(Index categoryIndex m_builder << m_options.indent << m_options.indent; - m_builder << "<" << usageCat.name << "> can be: "; - - List<UnownedStringSlice> optionNames; - options.getCategoryOptionNames(usageCategoryIndex, optionNames); - - _appendWrappedIndented(2, optionNames, toSlice(", ")); - - m_builder << "\n"; + m_builder << "To get a list of values that can be used for <" << usageCat.name + << ">, "; + m_builder << "use \"slangc -h " << usageCat.name << "\"\n"; } } } |
