From b8a97611020a6b6c10710ad35517fab18f106b5c Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Fri, 17 Feb 2023 08:59:54 +0100 Subject: [PATCH] address code review feedback: remove unused LocalizationResources methods and resources --- .../LocalizationResources.cs | 19 -------- .../Properties/Resources.Designer.cs | 45 ------------------- .../Properties/Resources.resx | 15 ------- .../Properties/xlf/Resources.cs.xlf | 25 ----------- .../Properties/xlf/Resources.de.xlf | 25 ----------- .../Properties/xlf/Resources.es.xlf | 27 +---------- .../Properties/xlf/Resources.fr.xlf | 25 ----------- .../Properties/xlf/Resources.it.xlf | 25 ----------- .../Properties/xlf/Resources.ja.xlf | 25 ----------- .../Properties/xlf/Resources.ko.xlf | 25 ----------- .../Properties/xlf/Resources.pl.xlf | 25 ----------- .../Properties/xlf/Resources.pt-BR.xlf | 25 ----------- .../Properties/xlf/Resources.ru.xlf | 25 ----------- .../Properties/xlf/Resources.tr.xlf | 25 ----------- .../Properties/xlf/Resources.zh-Hans.xlf | 25 ----------- .../Properties/xlf/Resources.zh-Hant.xlf | 25 ----------- 16 files changed, 1 insertion(+), 405 deletions(-) diff --git a/src/System.CommandLine/LocalizationResources.cs b/src/System.CommandLine/LocalizationResources.cs index d30ec97c5d..3e0fe99dee 100644 --- a/src/System.CommandLine/LocalizationResources.cs +++ b/src/System.CommandLine/LocalizationResources.cs @@ -19,25 +19,6 @@ internal static class LocalizationResources internal static string ExpectsOneArgument(OptionResult optionResult) => GetResourceString(Properties.Resources.OptionExpectsOneArgument, GetOptionName(optionResult), optionResult.Tokens.Count); - /// - /// Interpolates values into a localized string similar to No argument was provided for Command '{0}'.. - /// - internal static string NoArgumentProvided(SymbolResult symbolResult) => - symbolResult is CommandResult commandResult - ? GetResourceString(Properties.Resources.CommandNoArgumentProvided, commandResult.Token.Value) - : GetResourceString(Properties.Resources.OptionNoArgumentProvided, GetOptionName((OptionResult)symbolResult)); - - /// - /// Interpolates values into a localized string similar to Command '{0}' expects no more than {1} arguments, but {2} were provided. - /// - internal static string ExpectsFewerArguments( - Token token, - int providedNumberOfValues, - int maximumNumberOfValues) => - token.Type == TokenType.Command - ? GetResourceString(Properties.Resources.CommandExpectsFewerArguments, token, maximumNumberOfValues, providedNumberOfValues) - : GetResourceString(Properties.Resources.OptionExpectsFewerArguments, token, maximumNumberOfValues, providedNumberOfValues); - /// /// Interpolates values into a localized string similar to Directory does not exist: {0}. /// diff --git a/src/System.CommandLine/Properties/Resources.Designer.cs b/src/System.CommandLine/Properties/Resources.Designer.cs index c781eb9f85..8d95bb93a4 100644 --- a/src/System.CommandLine/Properties/Resources.Designer.cs +++ b/src/System.CommandLine/Properties/Resources.Designer.cs @@ -105,33 +105,6 @@ internal static string ArgumentConversionCannotParseForOption_Completions { } } - /// - /// Looks up a localized string similar to Command '{0}' expects no more than {1} arguments, but {2} were provided.. - /// - internal static string CommandExpectsFewerArguments { - get { - return ResourceManager.GetString("CommandExpectsFewerArguments", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Command '{0}' expects a single argument but {1} were provided.. - /// - internal static string CommandExpectsOneArgument { - get { - return ResourceManager.GetString("CommandExpectsOneArgument", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No argument was provided for Command '{0}'.. - /// - internal static string CommandNoArgumentProvided { - get { - return ResourceManager.GetString("CommandNoArgumentProvided", resourceCulture); - } - } - /// /// Looks up a localized string similar to Required argument missing for command: '{0}'.. /// @@ -321,15 +294,6 @@ internal static string InvalidCharactersInPath { } } - /// - /// Looks up a localized string similar to Option '{0}' expects no more than {1} arguments, but {2} were provided.. - /// - internal static string OptionExpectsFewerArguments { - get { - return ResourceManager.GetString("OptionExpectsFewerArguments", resourceCulture); - } - } - /// /// Looks up a localized string similar to Option '{0}' expects a single argument but {1} were provided.. /// @@ -339,15 +303,6 @@ internal static string OptionExpectsOneArgument { } } - /// - /// Looks up a localized string similar to No argument was provided for Option '{0}'.. - /// - internal static string OptionNoArgumentProvided { - get { - return ResourceManager.GetString("OptionNoArgumentProvided", resourceCulture); - } - } - /// /// Looks up a localized string similar to Required argument missing for option: '{0}'.. /// diff --git a/src/System.CommandLine/Properties/Resources.resx b/src/System.CommandLine/Properties/Resources.resx index a5e32aa8dc..2cd913ede2 100644 --- a/src/System.CommandLine/Properties/Resources.resx +++ b/src/System.CommandLine/Properties/Resources.resx @@ -117,27 +117,12 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - - - Command '{0}' expects a single argument but {1} were provided. - - - No argument was provided for Command '{0}'. - Directory does not exist: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - File does not exist: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.cs.xlf b/src/System.CommandLine/Properties/xlf/Resources.cs.xlf index f34c58cb3e..d20a81bf04 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.cs.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.cs.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - Příkaz '{0}' očekává maximálně tento počet argumentů: {1}. Zadal se jich ale tento počet: {2}. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Chybí povinný argument pro příkaz: '{0}'. @@ -147,21 +132,11 @@ Znak se v cestě nepovoluje: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - Možnost '{0}' očekává maximálně tento počet argumentů: {1}. Zadal se jich ale tento počet: {2}. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Chybí povinný argument pro možnost: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.de.xlf b/src/System.CommandLine/Properties/xlf/Resources.de.xlf index e2b3ae52b8..648385ec11 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.de.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.de.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - Der Befehl '{0}' erwartet maximal {1} Argumente, es wurden jedoch {2} angegeben. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Ein erforderliches Argument fehlt für den Befehl: '{0}'. @@ -147,21 +132,11 @@ Zeichen in Pfad nicht zulässig: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - Die Option '{0}' erwartet maximal {1} Argumente, es wurden jedoch {2} angegeben. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Ein erforderliches Argument fehlt für die Option: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.es.xlf b/src/System.CommandLine/Properties/xlf/Resources.es.xlf index 005fd3590d..3d8efcb17c 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.es.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.es.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - El comando '{0}' no espera más de {1} argumentos, pero se proporcionaron {2}. - - - - Command '{0}' expects a single argument but {1} were provided. - El comando '{0}' espera un solo argumento, pero se proporcionaron {1}. - - - - No argument was provided for Command '{0}'. - No se proporcionó ningún argumento para el comando '{0}'. - - Required argument missing for command: '{0}'. Falta el argumento requerido para el comando: '{0}'. @@ -147,21 +132,11 @@ Carácter no permitido en una ruta: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - La opción '{0}' no espera más de {1} argumentos, pero se proporcionaron {2}. - - Option '{0}' expects a single argument but {1} were provided. La opción '{0}' espera un solo argumento, pero se proporcionaron {1}. - - No argument was provided for Option '{0}'. - No se proporcionó ningún argumento para la opción '{0}'. - - Required argument missing for option: '{0}'. Falta el argumento requerido para la opción: '{0}'. @@ -209,4 +184,4 @@ - + \ No newline at end of file diff --git a/src/System.CommandLine/Properties/xlf/Resources.fr.xlf b/src/System.CommandLine/Properties/xlf/Resources.fr.xlf index 37522fa9d6..cee804e763 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.fr.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.fr.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - La commande '{0}' n'attend pas plus de {1} arguments, mais {2} ont été fournis. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Argument obligatoire manquant pour la commande : '{0}'. @@ -147,21 +132,11 @@ Caractère non autorisé dans un chemin : '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - L'option '{0}' n'attend pas plus de {1} arguments, mais {2} ont été fournis. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Argument obligatoire manquant pour l'option : '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.it.xlf b/src/System.CommandLine/Properties/xlf/Resources.it.xlf index dfa81a684d..9801fe92dc 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.it.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.it.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - Il comando '{0}' prevede non più di {1} argomenti, ma ne sono stati forniti {2}. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Manca l'argomento obbligatorio per il comando: '{0}'. @@ -147,21 +132,11 @@ Il carattere non è consentito in un percorso: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - L'opzione '{0}' prevede non più di {1} argomenti, ma ne sono stati forniti {2}. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Manca l'argomento obbligatorio per l'opzione: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.ja.xlf b/src/System.CommandLine/Properties/xlf/Resources.ja.xlf index 6c29d0e89d..3370c359b7 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.ja.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.ja.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - コマンド '{0}' では引数が {1} 個以下である必要がありますが、{2} 個が指定されました。. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. 必要な引数がコマンドにありません: '{0}'. @@ -147,21 +132,11 @@ パスで使用することが許可されていない文字: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - オプション '{0}' では、引数が {1} 個以下である必要がありますが、{2} 個が指定されています。. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. 必要な引数がオプションにありません: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.ko.xlf b/src/System.CommandLine/Properties/xlf/Resources.ko.xlf index 0ce67fdf20..e121e576d9 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.ko.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.ko.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - 명령 '{0}'에는 {1}개 이하의 인수가 필요한데 {2}개가 제공되었습니다. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. 명령 '{0}'에 대한 필수 인수가 없습니다. @@ -147,21 +132,11 @@ 경로에 사용할 수 없는 문자: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - 옵션 '{0}'에는 {1}개 이하의 인수가 필요한데 {2}개가 제공되었습니다. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. 옵션 '{0}'에 대한 필수 인수가 없습니다. diff --git a/src/System.CommandLine/Properties/xlf/Resources.pl.xlf b/src/System.CommandLine/Properties/xlf/Resources.pl.xlf index 648e8c3226..12d431c17e 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.pl.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.pl.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - Polecenie '{0}' oczekuje nie więcej niż {1} argumentów, ale podano {2}. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Brakuje argumentu wymaganego polecenia: '{0}'. @@ -147,21 +132,11 @@ Znak jest niedozwolony w ścieżce: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - Opcja '{0}' oczekuje nie więcej niż {1} argumentów, ale podano {2}. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Brakuje argumentu wymaganego opcji: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.pt-BR.xlf b/src/System.CommandLine/Properties/xlf/Resources.pt-BR.xlf index ff2f95d95f..fffee1d8ed 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.pt-BR.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.pt-BR.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - O comando '{0}' não espera mais de {1} argumentos, mas {2} foram fornecidos. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Argumento obrigatório ausente para o comando: '{0}'. @@ -147,21 +132,11 @@ Caractere não permitido em um caminho: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - A opção '{0}' não espera mais de {1} argumentos, mas {2} foram fornecidos. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Argumento obrigatório ausente para a opção: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.ru.xlf b/src/System.CommandLine/Properties/xlf/Resources.ru.xlf index 0e9495e183..68a2d6eb24 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.ru.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.ru.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - Максимальное допустимое число аргументов команды '{0}' — {1}. Число указанных аргументов — {2}. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Отсутствует обязательный аргумент для команды: '{0}'. @@ -147,21 +132,11 @@ Недопустимый символ в пути: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - Максимальное допустимое число аргументов параметра '{0}' — {1}. Число указанных аргументов — {2}. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Отсутствует обязательный аргумент для параметра: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.tr.xlf b/src/System.CommandLine/Properties/xlf/Resources.tr.xlf index f3d2c60d39..5096668256 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.tr.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.tr.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - '{0}' komutu en fazla {1} bağımsız değişken bekliyor, ancak {2} bağımsız değişken sağlandı. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. Komut için gerekli bağımsız değişken eksik: '{0}'. @@ -147,21 +132,11 @@ Yolda '{0}' karakterine izin verilmiyor. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - '{0}' seçeneği en fazla {1} bağımsız değişken bekliyor, ancak {2} bağımsız değişken sağlandı. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. Seçenek için gerekli bağımsız değişken eksik: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.zh-Hans.xlf b/src/System.CommandLine/Properties/xlf/Resources.zh-Hans.xlf index 30b160270f..507b132746 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.zh-Hans.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.zh-Hans.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - 命令“'{0}'”期望参数不超过 {1} 个,但提供了 {2} 个。. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. 命令缺少所需参数: '{0}'. @@ -147,21 +132,11 @@ 路径中不允许的字符: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - 选项“'{0}'”期望参数不超过 {1} 个,但提供了 {2} 个。. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. 选项缺少所需参数: '{0}'. diff --git a/src/System.CommandLine/Properties/xlf/Resources.zh-Hant.xlf b/src/System.CommandLine/Properties/xlf/Resources.zh-Hant.xlf index 308f0f63ac..72d2f50e2d 100644 --- a/src/System.CommandLine/Properties/xlf/Resources.zh-Hant.xlf +++ b/src/System.CommandLine/Properties/xlf/Resources.zh-Hant.xlf @@ -27,21 +27,6 @@ Cannot parse argument '{0}' for option '{1}' as expected type '{2}'. Did you mean one of the following?{3} - - Command '{0}' expects no more than {1} arguments, but {2} were provided. - 命令 '{0}' 不應有超過 {1} 個引數,但提供了 {2} 個。. - - - - Command '{0}' expects a single argument but {1} were provided. - Command '{0}' expects a single argument but {1} were provided. - - - - No argument was provided for Command '{0}'. - No argument was provided for Command '{0}'. - - Required argument missing for command: '{0}'. 命令遺漏必要引數: '{0}'. @@ -147,21 +132,11 @@ 路徑中不允許的字元: '{0}'. - - Option '{0}' expects no more than {1} arguments, but {2} were provided. - 選項 '{0}' 不應有超過 {1} 個引數,但提供了 {2} 個。. - - Option '{0}' expects a single argument but {1} were provided. Option '{0}' expects a single argument but {1} were provided. - - No argument was provided for Option '{0}'. - No argument was provided for Option '{0}'. - - Required argument missing for option: '{0}'. 選項遺漏必要引數: '{0}'.