Merge pull request #3838 from mlahaye/typofix

etcdctl: fix typo in error message (Invaild to Invalid)
release-2.3
Yicheng Qin 2015-11-09 13:20:21 -08:00
commit 213e246f13
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ func watchCommandFunc(c *cli.Context) {
// TODO: support start and end revision
segs := strings.Split(l, " ")
if len(segs) != 2 {
fmt.Fprintf(os.Stderr, "Invaild watch request format: use watch key or watchprefix prefix\n")
fmt.Fprintf(os.Stderr, "Invalid watch request format: use watch key or watchprefix prefix\n")
continue
}
@ -76,7 +76,7 @@ func watchCommandFunc(c *cli.Context) {
case "watchprefix":
r = &pb.WatchRequest{Prefix: []byte(segs[1])}
default:
fmt.Fprintf(os.Stderr, "Invaild watch request format: use watch key or watchprefix prefix\n")
fmt.Fprintf(os.Stderr, "Invalid watch request format: use watch key or watchprefix prefix\n")
continue
}