Skip to content

Commit ff363dc

Browse files
authored
Fix some minor typos (#116)
1 parent 047ac93 commit ff363dc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Documentation/04 Customizing Help.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ hello!
121121

122122
## Modifying the Help Flag Names
123123

124-
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.
124+
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.
125125

126126
```swift
127127
struct Example: ParsableCommand {
@@ -157,14 +157,11 @@ OPTIONS:
157157

158158
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.
159159

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

162162
```swift
163163
struct Example: ParsableCommand {
164164
@Flag(help: .hidden)
165165
var experimentalEnableWidgets: Bool
166166
}
167167
```
168-
169-
170-

0 commit comments

Comments
 (0)