Files
bloomtool/help.go
2025-11-05 16:41:06 +08:00

29 lines
609 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
and AND operation between two bitmap files
or OR operation between two bitmap files
"help" is the default command.
Use "bloomtool [command] -help" for more information about a command.
`