aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-26 02:12:56 +0900
committerOphestra <cat@gensokyo.uk>2026-01-26 02:12:56 +0900
commit490471d22be458ff14fb26366763a5b1b9f2a87a (patch)
tree37c30d612ac6493d27c79c95f81d91a9d294c33f
parent763d2572feffeb6515d1b24852715b171ae33557 (diff)
cmd/mbf: verbose by default
It usually does not make sense to use this without verbose. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--cmd/mbf/main.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 3f6da1f2..705116f1 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),