From 2222421dba48e383a2b7a68917cb4b3011eed8f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Scha=CC=88fer?= <101886095+PeterSchafer@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:00:52 +0200 Subject: [PATCH] chore: fix spelling --- cliv2/cmd/cliv2/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cliv2/cmd/cliv2/main.go b/cliv2/cmd/cliv2/main.go index 837618f219..04f750478b 100644 --- a/cliv2/cmd/cliv2/main.go +++ b/cliv2/cmd/cliv2/main.go @@ -139,12 +139,12 @@ func getFullCommandString(cmd *cobra.Command) string { func updateConfigFromParameter(config configuration.Configuration, args []string, rawArgs []string) { // extract everything behind -- doubleDashArgs := []string{} - doubleDashFond := false + doubleDashFound := false for _, v := range rawArgs { - if doubleDashFond { + if doubleDashFound { doubleDashArgs = append(doubleDashArgs, v) } else if v == "--" { - doubleDashFond = true + doubleDashFound = true } } config.Set(configuration.UNKNOWN_ARGS, doubleDashArgs)