Skip to content

Commit eb0ee98

Browse files
authored
Merge pull request #49 from dotnet-campus/t/walterlv/main
修复文档,换主分支
2 parents 93db390 + 56b6cda commit eb0ee98

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

DotNetCampus.CommandLine.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{F26E
2121
EndProject
2222
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine", "src\DotNetCampus.CommandLine\DotNetCampus.CommandLine.csproj", "{B61424A0-02C5-4C24-819B-8153D52BC0B8}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine.Sample", "samples\dotnetCampus.CommandLine.Sample\DotNetCampus.CommandLine.Sample.csproj", "{6B8F7500-B161-408D-BFA3-AE77CB8CF4D8}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine.Sample", "samples\DotNetCampus.CommandLine.Sample\DotNetCampus.CommandLine.Sample.csproj", "{6B8F7500-B161-408D-BFA3-AE77CB8CF4D8}"
2525
EndProject
26-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine.Tests", "tests\dotnetCampus.CommandLine.Tests\DotNetCampus.CommandLine.Tests.csproj", "{70991994-BB0C-4D00-9B74-E8736D0AD7C1}"
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine.Tests", "tests\DotNetCampus.CommandLine.Tests\DotNetCampus.CommandLine.Tests.csproj", "{70991994-BB0C-4D00-9B74-E8736D0AD7C1}"
2727
EndProject
28-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine.Performance", "tests\dotnetCampus.CommandLine.Performance\DotNetCampus.CommandLine.Performance.csproj", "{56B65FC1-CE75-4981-A880-954D891901D6}"
28+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCampus.CommandLine.Performance", "tests\DotNetCampus.CommandLine.Performance\DotNetCampus.CommandLine.Performance.csproj", "{56B65FC1-CE75-4981-A880-954D891901D6}"
2929
EndProject
3030
Global
3131
GlobalSection(SolutionConfigurationPlatforms) = preSolution

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DotNetCampus.CommandLine
22

3-
![Build](https://github.com/dotnet-campus/DotNetCampus.CommandLine/actions/workflows/dotnet-build.yml/badge.svg) ![NuGet Package](https://github.com/dotnet-campus/DotNetCampus.CommandLine/actions/workflows/nuget-tag-publish.yml/badge.svg) [![dotnetCampus.CommandLine](https://img.shields.io/nuget/v/DotNetCampus.CommandLine.svg?label=DotnetCampus.CommandLine)](https://www.nuget.org/packages/DotnetCampus.CommandLine/) [![dotnetCampus.CommandLine.Source](https://img.shields.io/nuget/v/DotnetCampus.CommandLine.Source?label=DotnetCampus.CommandLine.Source)](https://www.nuget.org/packages/DotnetCampus.CommandLine.Source/)
3+
![Build](https://github.com/dotnet-campus/DotNetCampus.CommandLine/actions/workflows/dotnet-build.yml/badge.svg) ![NuGet Package](https://github.com/dotnet-campus/DotNetCampus.CommandLine/actions/workflows/nuget-tag-publish.yml/badge.svg) [![DotNetCampus.CommandLine](https://img.shields.io/nuget/v/DotNetCampus.CommandLine.svg?label=DotnetCampus.CommandLine)](https://www.nuget.org/packages/DotnetCampus.CommandLine/) [![dotnetCampus.CommandLine.Source](https://img.shields.io/nuget/v/DotnetCampus.CommandLine.Source?label=DotnetCampus.CommandLine.Source)](https://www.nuget.org/packages/DotnetCampus.CommandLine.Source/)
44

55
| [English][en] | [简体中文][zh-hans] | [繁體中文][zh-hant] |
66
| ------------- | ------------------- | ------------------- |
@@ -70,7 +70,7 @@ Then use different command line styles to populate instances of this type:
7070
### Linux/GNU Style
7171

7272
```bash
73-
$ demo.exe "C:/Users/lvyi/Desktop/demo.txt" -s --mode Edit --startup-sessions A B C
73+
$ demo.exe "C:/Users/lvyi/Desktop/demo.txt" -s --mode Edit --startup-sessions A --startup-sessions B --startup-sessions C
7474
```
7575

7676
### .NET CLI Style
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
; Shipped analyzer releases
2-
; https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
2+
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
33

44
## Release 4.0
55

66
### New Rules
77
Rule ID | Category | Severity | Notes
88
--------|----------|----------|-------
9-
DCL101 | DotNetCampus.AvoidBugs | Warning | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/master/docs/analyzers/DCL101.md>
10-
DCL201 | DotNetCampus.CodeFixOnly | Hidden | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/master/docs/analyzers/DCL201.md>
11-
DCL202 | DotNetCampus.RuntimeException | Error | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/master/docs/analyzers/DCL202.md>
9+
DCL101 | DotNetCampus.AvoidBugs | Warning | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/main/docs/analyzers/DCL101.md>
10+
DCL201 | DotNetCampus.CodeFixOnly | Hidden | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/main/docs/analyzers/DCL201.md>
11+
DCL202 | DotNetCampus.RuntimeException | Error | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/main/docs/analyzers/DCL202.md>
1212

1313
## Release 3.2
1414

1515
### New Rules
1616
Rule ID | Category | Severity | Notes
1717
--------|----------|----------|-------
18-
DCL101 | dotnetCampus.Naming | Error | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/master/docs/analyzers/DCL101.md>
19-
DCL201 | dotnetCampus.Usage | Hidden | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/master/docs/analyzers/DCL201.md>
20-
DCL202 | dotnetCampus.Usage | Error | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/master/docs/analyzers/DCL202.md>
18+
DCL101 | dotnetCampus.Naming | Error | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/3.3.1/docs/analyzers/DCL101.md>
19+
DCL201 | dotnetCampus.Usage | Hidden | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/3.3.1/docs/analyzers/DCL201.md>
20+
DCL202 | dotnetCampus.Usage | Error | <https://github.com/dotnet-campus/DotNetCampus.CommandLine/blob/3.3.1/docs/analyzers/DCL202.md>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
; Unshipped analyzer release
2-
; https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md
2+
; https://github.com/dotnet/roslyn-analyzers/blob/main/src/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md

src/DotNetCampus.CommandLine.Analyzer/Analyzers/ConvertOptionProperty/ConvertOptionPropertyTypeCodeFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public abstract class ConvertOptionPropertyTypeCodeFix : CodeFixProvider
99
{
1010
public sealed override FixAllProvider GetFixAllProvider()
1111
{
12-
// See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
12+
// See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
1313
return WellKnownFixAllProviders.BatchFixer;
1414
}
1515

src/DotNetCampus.CommandLine.Analyzer/Analyzers/OptionLongNameMustBeKebabCaseCodeFixProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class OptionLongNameMustBeKebabCaseCodeFixProvider : CodeFixProvider
2121

2222
public sealed override FixAllProvider GetFixAllProvider()
2323
{
24-
// See https://github.com/dotnet/roslyn/blob/master/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
24+
// See https://github.com/dotnet/roslyn/blob/main/docs/analyzers/FixAllProvider.md for more information on Fix All Providers
2525
return WellKnownFixAllProviders.BatchFixer;
2626
}
2727

src/DotNetCampus.CommandLine/DotNetCampus.CommandLine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
6-
<PackageId>dotnetCampus.CommandLine</PackageId>
6+
<PackageId>DotNetCampus.CommandLine</PackageId>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
88
<RootNamespace>DotNetCampus.Cli</RootNamespace>
99
<IncludeSymbols>true</IncludeSymbols>

0 commit comments

Comments
 (0)