Skip to content

Commit 975b435

Browse files
authored
Fix invalid link in docs (#440)
1 parent c61fc0f commit 975b435

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Sources/ArgumentParser/Documentation.docc/ArgumentParser.md

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ and then either calls your `run()` method or exits with a useful message.
5151
- <doc:GettingStarted>
5252
- ``ParsableCommand``
5353
- ``AsyncParsableCommand``
54+
- <doc:CommandsAndSubcommands>
55+
- <doc:CustomizingCommandHelp>
5456

5557
### Arguments, Options, and Flags
5658

Sources/ArgumentParser/Documentation.docc/Articles/ManualParsing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ print(chosen.joined(separator: "\n"))
5151

5252
Manually parsing commands is a little more complex than parsing a simple `ParsableArguments` type. The result of parsing from a tree of subcommands may be of a different type than the root of the tree, so the static ``ParsableCommand/parseAsRoot(_:)`` method returns a type-erased ``ParsableCommand``.
5353

54-
Let's see how this works by using the `Math` command and subcommands defined in [Commands and Subcommands](./CommandsAndSubcommands.md). This time, instead of calling `Math.main()`, we'll call `Math.parseAsRoot()`, and switch over the result:
54+
Let's see how this works by using the `Math` command and subcommands defined in <doc:CommandsAndSubcommands>. This time, instead of calling `Math.main()`, we'll call `Math.parseAsRoot()`, and switch over the result:
5555

5656
```swift
5757
do {

0 commit comments

Comments
 (0)