You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/ArgumentParser/Documentation.docc/Articles/CustomizingHelp.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ OPTIONS:
185
185
186
186
## Hiding Arguments and Commands
187
187
188
-
You may want to suppress features under development or experimental flags from the generated help screen. You can hide an argument or a subcommand by passing `visibility: .hidden` to the property wrapper or `CommandConfiguration` initializers, respectively.
188
+
You may want to suppress features under development or experimental flags from the generated help screen. You can hide an argument or a subcommand by passing `shouldDisplay: false` to the property wrapper or `CommandConfiguration` initializers, respectively.
189
189
190
190
`ArgumentHelp` includes a `.hidden` static property that makes it even simpler to hide arguments:
0 commit comments