Skip to content

Commit ddf8dd1

Browse files
morealjonsequitur
authored andcommitted
Fix broken links
1 parent d4f3327 commit ddf8dd1

8 files changed

+18
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ This project has adopted the code of conduct defined by the [Contributor Covenan
7474

7575
## Contributing
7676

77-
See the [Contributing guide](CONTRIBUTING) for developer documentation.
77+
See the [Contributing guide](CONTRIBUTING.md) for developer documentation.
7878

7979
## License
8080

81-
This project is licensed under the [MIT license](LICENSE.TXT).
81+
This project is licensed under the [MIT license](LICENSE.md).
8282

8383
## .NET Foundation
8484

docs/DragonFruit-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ Options:
103103
--version Display version information
104104
```
105105

106-
The argument follows the same conventions for arity as described in [arguments](Syntax-Concepts-and-Parser#Arguments-and-arity).
106+
The argument follows the same conventions for arity as described in [arguments](Syntax-Concepts-and-Parser.md#Arguments-and-arity).
107107

108108
You can try out DragonFruit by installing the latest preview [package](https://www.nuget.org/packages/System.CommandLine.DragonFruit).

docs/Features-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ The raw text written to standard out in the first example is this:
129129

130130
## Rendering directives
131131

132-
Output modes can also be specified directly. If you know that you want a specific form of output, you can bypass the mode detection of `System.CommandLine.Rendering` and use a [directive](Syntax-Concepts-and-Parser#directives).
132+
Output modes can also be specified directly. If you know that you want a specific form of output, you can bypass the mode detection of `System.CommandLine.Rendering` and use a [directive](Syntax-Concepts-and-Parser.md#directives).
133133

134134
The following example will output ANSI to a text file.
135135

@@ -143,4 +143,4 @@ The supported output modes are:
143143

144144
* `Ansi`: Output is rendered using ANSI escape sequences. In-place re-rendering is supported.
145145
* `NonAnsi`: Output is rendered using `System.Console` cursor positioning. In-place re-rendering is supported.
146-
* `PlainText`: Output is rendered with additional whitespace so that, for example, if redirected to a text file, the layout will look correct. In-place re-rendering is not supported.
146+
* `PlainText`: Output is rendered with additional whitespace so that, for example, if redirected to a text file, the layout will look correct. In-place re-rendering is not supported.

docs/How-To.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Add an alias to an option or command
44

5-
Both commands and options support [aliases](Concepts#Aliases). You can add an alias to an option like this:
5+
Both commands and options support [aliases](Concepts.md#Aliases). You can add an alias to an option like this:
66

77
``` csharp
88
var option = new Option("--verbose");
@@ -122,7 +122,7 @@ public static void DoSomething(int anInt, string aString)
122122

123123
### Method-first
124124

125-
Another approach is to let `System.CommandLine` configure the parser for you based on your method signature using the `Command.ConfigureFromMethod` extension method found in the `System.CommandLine.DragonFruit` library. (The [DragonFruit](Your-first-app-with-System.CommandLine.DragonFruit) app model uses this approach for its strongly-typed `Main` method but it can be used with any method.)
125+
Another approach is to let `System.CommandLine` configure the parser for you based on your method signature using the `Command.ConfigureFromMethod` extension method found in the `System.CommandLine.DragonFruit` library. (The [DragonFruit](Your-first-app-with-System.CommandLine.DragonFruit.md) app model uses this approach for its strongly-typed `Main` method but it can be used with any method.)
126126

127127

128128
```csharp

docs/Syntax-Concepts-and-Parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ In both POSIX and Windows command lines, it's common for some options to have al
6060
-v, --verbose Show verbose output
6161
```
6262

63-
In `System.CommandLine`, both the `Command` and `Option` classes support adding [aliases](How-To#Add-an-alias-to-an-option-or-command).
63+
In `System.CommandLine`, both the `Command` and `Option` classes support adding [aliases](How-To#Add-an-alias-to-an-option-or-command.md).
6464

6565
## Arguments and arity
6666

docs/Your-first-app-with-System-CommandLine-DragonFruit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ The value for --bool-option is: False
5858
The value for --file-option is: null
5959
```
6060

61-
This program is equivalent to the one demonstrated in [Your first app with System.CommandLine](Your-first-app-with-System.CommandLine).
61+
This program is equivalent to the one demonstrated in [Your first app with System.CommandLine](Your-first-app-with-System.CommandLine.md).
6262

63-
To explore its features, take a look at [Features: overview](Features-overview)
63+
To explore its features, take a look at [Features: overview](Features-overview.md)

docs/Your-first-app-with-System-CommandLine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ The value for --bool-option is: False
8787
The value for --file-option is: null
8888
```
8989

90-
This program is equivalent to the one demonstrated in [Your first app with System.CommandLine.DragonFruit](Your-first-app-with-System.CommandLine.DragonFruit).
90+
This program is equivalent to the one demonstrated in [Your first app with System.CommandLine.DragonFruit](Your-first-app-with-System.CommandLine.DragonFruit.md).
9191

92-
To explore its features, take a look at [Features: overview](Features-overview)
92+
To explore its features, take a look at [Features: overview](Features-overview.md)

docs/readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ _Give your users a great experience with your .NET console applications while le
1313

1414
You can read more about it here:
1515

16-
* [History](History)
17-
* [Functional goals](Functional-goals)
18-
* [Technical motivations](Technical-motivations)
16+
* [History](History.md)
17+
* [Functional goals](Functional-goals.md)
18+
* [Technical motivations](Technical-motivations.md)
1919

2020
## Try it out
2121

22-
The simplest way to create your parser is with the experimental [DragonFruit app model](DragonFruit-overview). This works well if you have a single layer of commands (no subcommands).
22+
The simplest way to create your parser is with the experimental [DragonFruit app model](DragonFruit-overview.md). This works well if you have a single layer of commands (no subcommands).
2323

24-
[Your first app with System.CommandLine.DragonFruit](Your-first-app-with-System-CommandLine-DragonFruit)
24+
[Your first app with System.CommandLine.DragonFruit](Your-first-app-with-System-CommandLine-DragonFruit.md)
2525

2626
For more complex scenarios, you can use the core APIs directly.
2727

28-
[Your first app with System.CommandLine](Your-first-app-with-System-CommandLine)
28+
[Your first app with System.CommandLine](Your-first-app-with-System-CommandLine.md)

0 commit comments

Comments
 (0)