diff --git a/cmd/bitcask/scan.go b/cmd/bitcask/scan.go index 19b3fd2..87315d4 100644 --- a/cmd/bitcask/scan.go +++ b/cmd/bitcask/scan.go @@ -14,7 +14,7 @@ import ( var scanCmd = &cobra.Command{ Use: "scan ", 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.`, diff --git a/options.go b/options.go index 64c17f3..edd7f67 100644 --- a/options.go +++ b/options.go @@ -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