From 4557f2a42fdd53fb1cce47f7f58f8948d5890be1 Mon Sep 17 00:00:00 2001 From: Bryan Thornbury Date: Thu, 2 Jun 2016 15:21:29 -0700 Subject: [PATCH] update help message --- .../commands/dotnet-help/HelpCommand.cs | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/dotnet/commands/dotnet-help/HelpCommand.cs b/src/dotnet/commands/dotnet-help/HelpCommand.cs index 35eb0db1c..ecc9bb030 100644 --- a/src/dotnet/commands/dotnet-help/HelpCommand.cs +++ b/src/dotnet/commands/dotnet-help/HelpCommand.cs @@ -8,16 +8,22 @@ namespace Microsoft.DotNet.Tools.Help { public class HelpCommand { - private const string UsageText = @"Usage: dotnet [common-options] [command] [arguments] + private const string UsageText = @"Usage: dotnet [host-options] [command] [arguments] [common-options] Arguments: - [command] The command to execute - [arguments] Arguments to pass to the command + [command] The command to execute + [arguments] Arguments to pass to the command + [host-options] Options specific to dotnet (host) + [common-options] Options common to all commands -Common Options (passed before the command): - -v|--verbose Enable verbose output - --version Display .NET CLI Version Number - --info Display .NET CLI Info +Common options: + -v|--verbose Enable verbose output + -h|--help Show help + +Host options (passed before the command): + -v|--verbose Enable verbose output + --version Display .NET CLI Version Number + --info Display .NET CLI Info Common Commands: new Initialize a basic .NET project