Fix typo (#65)

This commit is contained in:
Xin Zhang 2019-08-14 05:53:08 -05:00 committed by James Mills
parent c5a565cd82
commit 156d29e344
2 changed files with 2 additions and 2 deletions

@ -14,7 +14,7 @@ import (
var scanCmd = &cobra.Command{
Use: "scan <prefix>",
Aliases: []string{"search", "find"},
Short: "Perform a prefis scan for keys",
Short: "Perform a prefix scan for keys",
Long: `This performa a prefix scan for keys starting with the given
prefix. This uses a Trie to search for matching keys and returns all matched
keys.`,

@ -101,7 +101,7 @@ func WithMaxValueSize(size int) Option {
}
// WithSync causes Sync() to be called on every key/value written increasing
// durability and saftey at the expense of performance
// durability and safety at the expense of performance
func WithSync(sync bool) Option {
return func(cfg *config) error {
cfg.sync = sync