Skip to content

Commit 4989394

Browse files
authored
Update 04 Customizing Help.md (#38)
fix typo in code example to configure the help flags.
1 parent 8a23e0b commit 4989394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/04 Customizing Help.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ Users can see the help screen for a command by passing either `-h` or `--help` f
125125

126126
```swift
127127
struct Example: ParsableCommand {
128-
static let configuration: CommandConfiguration(
129-
helpName: [.long, .customShort("?")])
128+
static let configuration = CommandConfiguration(
129+
helpNames: [.long, .customShort("?")])
130130

131131
@Option(name: .shortAndLong, help: "The number of history entries to show.")
132132
var historyDepth: Int

0 commit comments

Comments
 (0)