From 3caf06c1220eb0b69d95d6ca63dc0916b69bde41 Mon Sep 17 00:00:00 2001 From: allencloud Date: Sun, 3 Jul 2016 20:47:39 +0800 Subject: [PATCH] fix typos Signed-off-by: allencloud Upstream-commit: 5545165e0298e9198821a07aaeb49f1ac8973816 Component: cli --- components/cli/required.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/required.go b/components/cli/required.go index 9276a5740a..8ee02c8429 100644 --- a/components/cli/required.go +++ b/components/cli/required.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" ) -// NoArgs validate args and returns an error if there are any args +// NoArgs validates args and returns an error if there are any args func NoArgs(cmd *cobra.Command, args []string) error { if len(args) == 0 { return nil