From 959fd9d304e11129f7be5b55c2b08ab4f8241bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romaric=20Philog=C3=A8ne?= Date: Tue, 26 Sep 2023 17:54:53 +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 433c8721..65eb5a5b 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", "v", false, "Verbose output") + rootCmd.PersistentFlags().BoolVarP(&variable.Verbose, "verbose", "", false, "Verbose output") } func initConfig() { diff --git a/pkg/version.go b/pkg/version.go index 2e6a8e0f..a6687f5b 100644 --- a/pkg/version.go +++ b/pkg/version.go @@ -11,7 +11,7 @@ import ( ) func GetCurrentVersion() string { - return "0.71.0" // ci-version-check + return "0.71.1" // ci-version-check } func GetLatestOnlineVersionUrl() (string, error) {