aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-02-19 13:55:05 +0900
committerOphestra <cat@gensokyo.uk>2026-02-19 13:55:05 +0900
commitd888d09b6dc8b42bedec9689a09ddae2e16197cc (patch)
tree097b2d48f5a0057e187bac902a342b7111a44ec7 /cmd
parent54176e73153f242b2c5b2f5263368460782c17a0 (diff)
cmd/mbf: explicit help command
Not having this command is counterintuitive. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 9828a8f1..dccc1b02 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -241,6 +241,12 @@ func main() {
)
}
+ c.Command(
+ "help",
+ "Show this help message",
+ func([]string) error { c.PrintHelp(); return nil },
+ )
+
c.MustParse(os.Args[1:], func(err error) {
if cache != nil {
cache.Close()