diff --git a/cli/configure/configure.go b/cli/configure/configure.go index 3491d687f..8b608cf34 100644 --- a/cli/configure/configure.go +++ b/cli/configure/configure.go @@ -344,12 +344,12 @@ func ValidateCliOpts(cliCtx *cmdcontext.CliCtx) error { } if cliCtx.ConfigPath != "" { return fmt.Errorf( - "you can specify only one of -L(--local), -с(--cfg) and 'TT_CLI_CFG' options") + "you can specify only one of -L(--local), -c(--cfg) and 'TT_CLI_CFG' options") } } else { if cliCtx.IsSystem && cliCtx.ConfigPath != "" { return fmt.Errorf( - "you can specify only one of -S(--system), -с(--cfg) and 'TT_CLI_CFG' options") + "you can specify only one of -S(--system), -c(--cfg) and 'TT_CLI_CFG' options") } } return nil diff --git a/cli/configure/configure_test.go b/cli/configure/configure_test.go index 050fdc274..3c669cb2b 100644 --- a/cli/configure/configure_test.go +++ b/cli/configure/configure_test.go @@ -214,9 +214,9 @@ func TestValidateCliOpts(t *testing.T) { } testData := []cliCtxTest{ {cmdcontext.CliCtx{IsSystem: true, ConfigPath: "/" + ConfigName}, - "you can specify only one of -S(--system), -с(--cfg) and 'TT_CLI_CFG' options"}, + "you can specify only one of -S(--system), -c(--cfg) and 'TT_CLI_CFG' options"}, {cmdcontext.CliCtx{LocalLaunchDir: "/", ConfigPath: "/" + ConfigName}, - "you can specify only one of -L(--local), -с(--cfg) and 'TT_CLI_CFG' options"}, + "you can specify only one of -L(--local), -c(--cfg) and 'TT_CLI_CFG' options"}, {cmdcontext.CliCtx{IsSystem: true, LocalLaunchDir: "."}, "you can specify only one of -L(--local) and -S(--system) options"}, {cmdcontext.CliCtx{IsSystem: true}, ""},