From 490471d22be458ff14fb26366763a5b1b9f2a87a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 26 Jan 2026 02:12:56 +0900 Subject: [PATCH] cmd/mbf: verbose by default It usually does not make sense to use this without verbose. Signed-off-by: Ophestra --- cmd/mbf/main.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 3f6da1f..705116f 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -47,13 +47,13 @@ func main() { }() var ( - flagVerbose bool - flagCures int - flagBase string - flagTShift int + flagQuiet bool + flagCures int + flagBase string + flagTShift int ) c := command.New(os.Stderr, log.Printf, "mbf", func([]string) (err error) { - msg.SwapVerbose(flagVerbose) + msg.SwapVerbose(!flagQuiet) var base *check.Absolute if flagBase, err = filepath.Abs(flagBase); err != nil { @@ -72,9 +72,9 @@ func main() { } return }).Flag( - &flagVerbose, - "v", command.BoolFlag(false), - "Print cure messages to the console", + &flagQuiet, + "q", command.BoolFlag(false), + "Do not print cure messages", ).Flag( &flagCures, "cures", command.IntFlag(0),