首次提交代码
This commit is contained in:
26
help.go
Normal file
26
help.go
Normal file
@@ -0,0 +1,26 @@
|
||||
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.
|
||||
`
|
||||
Reference in New Issue
Block a user