From a06043375d6522445858c171729226cc964b04f1 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Mon, 27 Dec 2021 16:07:57 +0100 Subject: [PATCH] refactor: remove unused flag --- cli/cli.go | 1 - cli/internal/common.go | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index 3cac259a..c2831f85 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -43,7 +43,6 @@ convenient command-line experience. See "abra autocomplete -h" for more. AutoCompleteCommand, }, Flags: []cli.Flag{ - internal.VerboseFlag, internal.DebugFlag, internal.NoInputFlag, }, diff --git a/cli/internal/common.go b/cli/internal/common.go index b0523dff..b3833e9b 100644 --- a/cli/internal/common.go +++ b/cli/internal/common.go @@ -272,18 +272,6 @@ var DebugFlag = &cli.BoolFlag{ Usage: "Show DEBUG messages", } -// Verbose stores the variable from VerboseFlag. -var Verbose bool - -// VerboseFlag turns on/off verbose logging down to the INFO level. -var VerboseFlag = &cli.BoolFlag{ - Name: "verbose", - Aliases: []string{"V"}, - Value: false, - Destination: &Verbose, - Usage: "Show INFO messages", -} - // RC signifies the latest release candidate var RC bool