|
|
@@ -86,7 +86,7 @@ func getGetOp(cmd *cobra.Command, args []string) (string, []clientv3.OpOption) {
|
|
|
key := args[0]
|
|
|
if len(args) > 1 {
|
|
|
if getPrefix || getFromKey {
|
|
|
- ExitWithError(ExitBadArgs, fmt.Errorf("too many arguments, only accept one arguement when `--prefix` or `--from-key` is set."))
|
|
|
+ ExitWithError(ExitBadArgs, fmt.Errorf("too many arguments, only accept one argument when `--prefix` or `--from-key` is set."))
|
|
|
}
|
|
|
opts = append(opts, clientv3.WithRange(args[1]))
|
|
|
}
|