Suppress private visibility arguments in generate-manual output #665
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Arguments that specify
private
visibility, such as:show up in the man page generated by the
generate-manual
command:If
private
visibility indicates that help should never be shown for that argument, it seems reasonable and desirable that it also not be visible in man pages.ArgumentParser version:
1.5.0
Swift version:
swift-driver version: 1.110 Apple Swift version 6.0 (swiftlang-6.0.0.4.52 clang-1600.0.21.1.3)
Checklist
main
branch of this packageSteps to Reproduce
private
visibility, such as thehiddenFromHelp
argument above<executable>
swift run generate-manual <executable> --output-directory <outputdir>
Expected behavior
hiddenFromHelp
should not be included in the man page generated at<outputdir>
Actual behavior
hiddenFromHelp
is included in the man page generated at<outputdir>
The text was updated successfully, but these errors were encountered: