From 01b8e0210073bca4470c9380acb9f2594df96122 Mon Sep 17 00:00:00 2001 From: Steve Harter Date: Wed, 3 Jan 2018 15:49:41 -0600 Subject: [PATCH] Add help for list-sdks and list-runtimes --- src/dotnet/commands/dotnet-help/HelpUsageText.cs | 2 ++ .../commands/dotnet-help/LocalizableStrings.resx | 6 ++++++ .../commands/dotnet-help/xlf/LocalizableStrings.cs.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.de.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.es.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.fr.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.it.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.ja.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.ko.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.pl.xlf | 10 ++++++++++ .../dotnet-help/xlf/LocalizableStrings.pt-BR.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.ru.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.tr.xlf | 10 ++++++++++ .../commands/dotnet-help/xlf/LocalizableStrings.xlf | 10 ++++++++++ .../dotnet-help/xlf/LocalizableStrings.zh-Hans.xlf | 10 ++++++++++ .../dotnet-help/xlf/LocalizableStrings.zh-Hant.xlf | 10 ++++++++++ .../GivenThatIWantToShowHelpForDotnetCommand.cs | 2 ++ 17 files changed, 150 insertions(+) diff --git a/src/dotnet/commands/dotnet-help/HelpUsageText.cs b/src/dotnet/commands/dotnet-help/HelpUsageText.cs index cdf7f4ec1..52a58230a 100644 --- a/src/dotnet/commands/dotnet-help/HelpUsageText.cs +++ b/src/dotnet/commands/dotnet-help/HelpUsageText.cs @@ -39,6 +39,8 @@ path-to-application: sdk-options: --version {LocalizableStrings.SDKVersionCommandDefinition} --info {LocalizableStrings.SDKInfoCommandDefinition} + --list-sdks {LocalizableStrings.SDKListSdksCommandDefinition} + --list-runtimes {LocalizableStrings.SDKListRuntimesCommandDefinition} -d|--diagnostics {LocalizableStrings.SDKDiagnosticsCommandDefinition} runtime-options: diff --git a/src/dotnet/commands/dotnet-help/LocalizableStrings.resx b/src/dotnet/commands/dotnet-help/LocalizableStrings.resx index 28e17697b..6491cc5b7 100644 --- a/src/dotnet/commands/dotnet-help/LocalizableStrings.resx +++ b/src/dotnet/commands/dotnet-help/LocalizableStrings.resx @@ -237,6 +237,12 @@ Display .NET Core information. + + Display the installed SDKs. + + + Display the installed runtimes. + Enable diagnostic output. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.cs.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.cs.xlf index c97acbd91..45e17ee76 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.cs.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.cs.xlf @@ -197,6 +197,16 @@ Zobrazí informace o rozhraní .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Povolí diagnostický výstup. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.de.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.de.xlf index df4be9958..6c4919918 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.de.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.de.xlf @@ -197,6 +197,16 @@ .NET Core-Informationen anzeigen. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Diagnoseausgabe aktivieren. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.es.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.es.xlf index c580d0183..a6bf08be0 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.es.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.es.xlf @@ -197,6 +197,16 @@ Muestra la información de .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Habilita la salida de diagnóstico. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.fr.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.fr.xlf index 84c6be67e..a3735be30 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.fr.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.fr.xlf @@ -197,6 +197,16 @@ Affichez les informations sur .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Activez la sortie des diagnostics. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.it.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.it.xlf index b28a735a3..b6e934e80 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.it.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.it.xlf @@ -197,6 +197,16 @@ Visualizza le informazioni su .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Abilita l'output di diagnostica. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ja.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ja.xlf index 02361a9e8..c67f2a6a4 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ja.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ja.xlf @@ -197,6 +197,16 @@ .NET Core 情報を表示します。 + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. 診断出力を有効にします。 diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ko.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ko.xlf index b825efecd..b83e3480f 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ko.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ko.xlf @@ -197,6 +197,16 @@ .NET Core 정보를 표시합니다. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. 진단 출력을 사용합니다. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pl.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pl.xlf index 46edce856..0d1720067 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pl.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pl.xlf @@ -197,6 +197,16 @@ Wyświetl informacje o programie .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Włącz diagnostyczne dane wyjściowe. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pt-BR.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pt-BR.xlf index a62ffb564..9c366f7c6 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pt-BR.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.pt-BR.xlf @@ -197,6 +197,16 @@ Exibir informações do .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Habilitar saída de diagnóstico. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ru.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ru.xlf index f548d964a..7c0228e57 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ru.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.ru.xlf @@ -197,6 +197,16 @@ Отображение сведений о .NET Core. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Включение выходных данных диагностики. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.tr.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.tr.xlf index 2f4e6d9f9..78b928486 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.tr.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.tr.xlf @@ -197,6 +197,16 @@ .NET Core bilgilerini gösterir. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. Tanılama çıkışını etkinleştirir. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.xlf index dcb4ed353..8bb895ffe 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.xlf @@ -163,6 +163,16 @@ Display .NET Core information. + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hans.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hans.xlf index b991067af..d6e5ac105 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hans.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hans.xlf @@ -197,6 +197,16 @@ 显示 .NET Core 信息。 + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. 启用诊断输出。 diff --git a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hant.xlf b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hant.xlf index b2eea8e5b..b9e6c78e4 100644 --- a/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hant.xlf +++ b/src/dotnet/commands/dotnet-help/xlf/LocalizableStrings.zh-Hant.xlf @@ -197,6 +197,16 @@ 顯示 .NET Core 資訊。 + + Display the installed SDKs. + Display the installed SDKs. + + + + Display the installed runtimes. + Display the installed runtimes. + + Enable diagnostic output. 啟用診斷輸出。 diff --git a/test/dotnet-help.Tests/GivenThatIWantToShowHelpForDotnetCommand.cs b/test/dotnet-help.Tests/GivenThatIWantToShowHelpForDotnetCommand.cs index a04148507..67f2eda99 100644 --- a/test/dotnet-help.Tests/GivenThatIWantToShowHelpForDotnetCommand.cs +++ b/test/dotnet-help.Tests/GivenThatIWantToShowHelpForDotnetCommand.cs @@ -50,6 +50,8 @@ Run 'dotnet COMMAND --help' for more information on a command. sdk-options: --version Display .NET Core SDK version. --info Display .NET Core information. + --list-sdks Display the installed SDKs. + --list-runtimes Display the installed runtimes. -d|--diagnostics Enable diagnostic output. runtime-options: