瀏覽代碼

Merge pull request #3838 from mlahaye/typofix

etcdctl: fix typo in error message (Invaild to Invalid)
Yicheng Qin 10 年之前
父節點
當前提交
213e246f13
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      etcdctlv3/command/watch_command.go

+ 2 - 2
etcdctlv3/command/watch_command.go

@@ -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
 		}