14 lines
457 B
C#
14 lines
457 B
C#
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||
|
|
||
|
using System;
|
||
|
using Microsoft.DotNet.Cli.CommandLine;
|
||
|
|
||
|
namespace Microsoft.DotNet.Cli
|
||
|
{
|
||
|
public static class ParseResultExtensions
|
||
|
{
|
||
|
public static void ShowHelp(this ParseResult parseResult) =>
|
||
|
Console.WriteLine(parseResult.Command().HelpView());
|
||
|
}
|
||
|
}
|