From 735440e52de039701ab7c420e3e272a8bcd6934b Mon Sep 17 00:00:00 2001 From: Maxime Lahaye Date: Mon, 9 Nov 2015 15:10:35 -0600 Subject: [PATCH] etcdctl: fix typo in error message (Invaild to Invalid) --- etcdctlv3/command/watch_command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etcdctlv3/command/watch_command.go b/etcdctlv3/command/watch_command.go index 3d643cbc6..98926ab6d 100644 --- a/etcdctlv3/command/watch_command.go +++ b/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 }