Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 34d0900

Browse files
committed
Use latest command line parser
1 parent 91ae618 commit 34d0900

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

TestAssets/TestPackages/dotnet-dependency-tool-invoker/DotnetDependencyToolInvokerParser.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ public static Microsoft.DotNet.Cli.CommandLine.Command DotnetDependencyToolInvok
2323
Create.Option(
2424
"-h|--help",
2525
"Show help information",
26-
Accept.NoArguments(),
27-
materialize: o => o.Option.Command().HelpView()),
26+
Accept.NoArguments()),
2827
Create.Option(
2928
"-p|--project-path",
3029
"Path to Project.json that contains the tool dependency",

build/DependencyVersions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<TemplateEngineTemplate2_0Version>1.0.0-beta2-20170620-266</TemplateEngineTemplate2_0Version>
2828
<PlatformAbstractionsVersion>2.0.0-preview3-25426-01</PlatformAbstractionsVersion>
2929
<DependencyModelVersion>2.0.0-preview3-25426-01</DependencyModelVersion>
30-
<CliCommandLineParserVersion>0.1.0-alpha-142</CliCommandLineParserVersion>
30+
<CliCommandLineParserVersion>0.1.1-alpha-167</CliCommandLineParserVersion>
3131
<CliMigrateVersion>1.2.1-alpha-002133</CliMigrateVersion>
3232
<MicroBuildVersion>0.2.0</MicroBuildVersion>
3333
<SpaTemplateVersion>1.0.0-preview-000321</SpaTemplateVersion>

src/dotnet/CommonOptions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ public static Option HelpOption() =>
1313
Create.Option(
1414
"-h|--help",
1515
CommonLocalizableStrings.ShowHelpDescription,
16-
Accept.NoArguments(),
17-
materialize: o => o.Option.Command().HelpView());
16+
Accept.NoArguments());
1817

1918
public static Option VerbosityOption() =>
2019
Create.Option(

0 commit comments

Comments
 (0)