diff --git a/cli/cli.go b/cli/cli.go index bdb45cd..cefd059 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -199,7 +199,7 @@ func Run(gitRev string, gomod []byte) { if !errs.IsEmpty() { terminal.Error("Options parsing errors:") - terminal.Error(errs.String()) + terminal.Error(errs.Error("- ")) os.Exit(1) } diff --git a/clone/clone.go b/clone/clone.go index 590e53d..15d7bc1 100644 --- a/clone/clone.go +++ b/clone/clone.go @@ -103,7 +103,7 @@ func Run(gitRev string, gomod []byte) { if !errs.IsEmpty() { terminal.Error("Options parsing errors:") - terminal.Error(errs.String()) + terminal.Error(errs.Error("- ")) os.Exit(1) } diff --git a/gen/gen.go b/gen/gen.go index ce74191..0e35a8c 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -119,7 +119,7 @@ func Run(gitRev string, gomod []byte) { if !errs.IsEmpty() { terminal.Error("Options parsing errors:") - terminal.Error(errs.String()) + terminal.Error(errs.Error("- ")) os.Exit(1) } diff --git a/go.mod b/go.mod index 19b46a7..6a53a9f 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( require ( github.com/essentialkaos/depsy v1.3.1 // indirect github.com/essentialkaos/go-linenoise/v3 v3.6.1 // indirect - github.com/klauspost/compress v1.17.10 // indirect + github.com/klauspost/compress v1.17.11 // indirect golang.org/x/crypto v0.28.0 // indirect golang.org/x/sys v0.26.0 // indirect ) diff --git a/go.sum b/go.sum index 27b353d..9a620ba 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,8 @@ github.com/essentialkaos/go-linenoise/v3 v3.6.1 h1:VzjakaWNAPfattl/HSIJveWYpfrxA github.com/essentialkaos/go-linenoise/v3 v3.6.1/go.mod h1:hpxke5G2eXvFhVnDAiGU9ArH3MTDGGc13afObIbuaJQ= github.com/essentialkaos/npck v1.7.0 h1:Lqx6zj6kZZLXQ2Mz01hnPLUf6FhW4TQBt8Az6ry1LEM= github.com/essentialkaos/npck v1.7.0/go.mod h1:HprsYhuD33pid38RpjnRosv8Vi3nC1qkQ1+SMoqN9tA= -github.com/klauspost/compress v1.17.10 h1:oXAz+Vh0PMUvJczoi+flxpnBEPxoER1IaAnU/NMPtT0= -github.com/klauspost/compress v1.17.10/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= +github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= +github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=