Omit "Internal" category from default help text output #8013
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For #7969
This changes the output text of
slangc -h
to not print the "Internal" category unless explicitly specified, as those options are intended for internal Slang dev use. The category can still be printed on its own withslangc -h Internal
, and is listed in the available categories under the "Getting Help for Specific Categories" note at the end of the output ofslangc -h
.The markdown help output is not affected.
Before: 468 lines of help text, 3246 words, 39448 characters
After: 447 lines, 3107 words, 38313 characters
Diff: -21 lines (approx. 4.5%), -139 words (approx. 4.3%), -1135 characters (approx. 2.9%)