aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf/main.go')
-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),