Files
bloomtool/help.go
2025-11-03 14:37:59 +08:00

27 lines
482 B
Go

package main
import (
"fmt"
"strings"
)
// RunHelp 帮助
func RunHelp(args ...string) error {
fmt.Println(strings.TrimSpace(usage))
return nil
}
const usage = `
Usage: [[command] [arguments]]
The commands are:
makebloom Make bloom filter bitmap file
hittest Hittest text lines in bitmap
info Show bitmap file info
"help" is the default command.
Use "bloomtool [command] -help" for more information about a command.
`