cmd/mbf: explicit help command

Not having this command is counterintuitive.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-19 13:55:05 +09:00
parent 54176e7315
commit d888d09b6d

View File

@@ -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) { c.MustParse(os.Args[1:], func(err error) {
if cache != nil { if cache != nil {
cache.Close() cache.Close()