Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions Documentation/04 Customizing Help.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ hello!

## Modifying the Help Flag Names

Users can see the help screen for a command by passing either `-h` or `--help` flag, by default. If you need to use one of those flags for another purpose, you can provide alternative names when configuring a root command.
Users can see the help screen for a command by passing either the `-h` or the `--help` flag, by default. If you need to use one of those flags for another purpose, you can provide alternative names when configuring a root command.

```swift
struct Example: ParsableCommand {
Expand Down Expand Up @@ -157,14 +157,11 @@ OPTIONS:

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.

`ArgumentHelp` include a `.hidden` static property that makes it even simpler to hide arguments:
`ArgumentHelp` includes a `.hidden` static property that makes it even simpler to hide arguments:

```swift
struct Example: ParsableCommand {
@Flag(help: .hidden)
var experimentalEnableWidgets: Bool
}
```