-
-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditionally trim trailing periods of argument and option descriptio…
…ns (#1740)
- Loading branch information
Showing
37 changed files
with
78 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Tests/Spectre.Console.Cli.Tests/Expectations/Help/Branch.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pectre.Console.Cli.Tests/Expectations/Help/Branch_Called_Without_Help.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Tests/Spectre.Console.Cli.Tests/Expectations/Help/Branch_Examples.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIPTION: | ||
The animal command. | ||
The animal command | ||
|
||
USAGE: | ||
myapp animal [LEGS] [OPTIONS] <COMMAND> | ||
|
2 changes: 1 addition & 1 deletion
2
...ests/Spectre.Console.Cli.Tests/Expectations/Help/Command_Hide_Default.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Tests/Spectre.Console.Cli.Tests/Expectations/Help/Default.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIPTION: | ||
The lion command. | ||
The lion command | ||
|
||
USAGE: | ||
myapp <TEETH> [LEGS] [OPTIONS] | ||
|
2 changes: 1 addition & 1 deletion
2
src/Tests/Spectre.Console.Cli.Tests/Expectations/Help/Default_Examples.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIPTION: | ||
The dog command. | ||
The dog command | ||
|
||
USAGE: | ||
myapp <AGE> [LEGS] [OPTIONS] | ||
|
2 changes: 1 addition & 1 deletion
2
...ests/Spectre.Console.Cli.Tests/Expectations/Help/Default_Without_Args.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIPTION: | ||
The lion command. | ||
The lion command | ||
|
||
USAGE: | ||
myapp <TEETH> [LEGS] [OPTIONS] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_DE.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BESCHREIBUNG: | ||
The lion command. | ||
The lion command | ||
|
||
VERWENDUNG: | ||
myapp <TEETH> [LEGS] [OPTIONEN] [KOMMANDO] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_EN.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIPTION: | ||
The lion command. | ||
The lion command | ||
|
||
USAGE: | ||
myapp <TEETH> [LEGS] [OPTIONS] [COMMAND] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_FR.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIPTION: | ||
The lion command. | ||
The lion command | ||
|
||
UTILISATION: | ||
myapp <TEETH> [LEGS] [OPTIONS] [COMMANDE] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_IT.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIZIONE: | ||
The lion command. | ||
The lion command | ||
|
||
USO: | ||
myapp <TEETH> [LEGS] [OPZIONI] [COMANDO] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_JA.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
説明: | ||
The lion command. | ||
The lion command | ||
|
||
使用法: | ||
myapp <TEETH> [LEGS] [オプション] [コマンド] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_KO.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
설명: | ||
The lion command. | ||
The lion command | ||
|
||
사용법: | ||
myapp <TEETH> [LEGS] [옵션] [명령] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_PT.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
DESCRIÇÃO: | ||
The lion command. | ||
The lion command | ||
|
||
USO: | ||
myapp <TEETH> [LEGS] [OPÇÕES] [COMANDO] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_RU.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ОПИСАНИЕ: | ||
The lion command. | ||
The lion command | ||
|
||
ИСПОЛЬЗОВАНИЕ: | ||
myapp <TEETH> [LEGS] [ОПЦИИ] [КОМАНДА] | ||
|
2 changes: 1 addition & 1 deletion
2
...onsole.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_SV.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
BESKRIVNING: | ||
The lion command. | ||
The lion command | ||
|
||
ANVÄNDING: | ||
myapp <TEETH> [LEGS] [VAL] [KOMMANDO] | ||
|
2 changes: 1 addition & 1 deletion
2
...e.Cli.Tests/Expectations/Help/Default_Without_Args_Additional.Output_ZH-HANS.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
描述: | ||
The lion command. | ||
The lion command | ||
|
||
用法: | ||
myapp <TEETH> [LEGS] [选项] [命令] | ||
|
2 changes: 1 addition & 1 deletion
2
.../Expectations/Help/Default_Without_Args_Additional_Style_BoldHeadings.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Tests/Expectations/Help/Default_Without_Args_Additional_Style_Default.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...li.Tests/Expectations/Help/Default_Without_Args_Additional_Style_None.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 13 additions & 7 deletions
20
...re.Console.Cli.Tests/Expectations/Help/Description_No_Trailing_Period.Output.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
USAGE: | ||
myapp [OPTIONS] <COMMAND> | ||
DESCRIPTION: | ||
The dog command. | ||
|
||
OPTIONS: | ||
-h, --help Prints help information | ||
USAGE: | ||
myapp dog <AGE> [LEGS] [OPTIONS] | ||
|
||
ARGUMENTS: | ||
<AGE> | ||
[LEGS] The number of legs. | ||
|
||
COMMANDS: | ||
dog <AGE> The dog command. | ||
horse The horse command. | ||
OPTIONS: | ||
-h, --help Prints help information. | ||
-a, --alive Indicates whether or not the animal is alive. | ||
-n, --name <VALUE> | ||
-g, --good-boy |
Oops, something went wrong.