From 4f373ca7ac7b4f9e592b09a407638f185c20700e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romaric=20Philog=C3=A8ne?= Date: Tue, 26 Sep 2023 22:24:34 +0200 Subject: [PATCH] chore: remove -v global flag - let --verbose for all commands --- cmd/root.go | 2 +- pkg/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 65eb5a5b..154f6978 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -24,7 +24,7 @@ func Execute() { func init() { cobra.OnInitialize(initConfig) - rootCmd.PersistentFlags().BoolVarP(&variable.Verbose, "verbose", "", false, "Verbose output") + rootCmd.PersistentFlags().BoolVar(&variable.Verbose, "verbose", false, "Verbose output") } func initConfig() { diff --git a/pkg/version.go b/pkg/version.go index a6687f5b..2aac730d 100644 --- a/pkg/version.go +++ b/pkg/version.go @@ -11,7 +11,7 @@ import ( ) func GetCurrentVersion() string { - return "0.71.1" // ci-version-check + return "0.71.2" // ci-version-check } func GetLatestOnlineVersionUrl() (string, error) {