fix typos

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-07-03 20:47:39 +08:00
parent 396d11999f
commit 5545165e02
1 changed files with 1 additions and 1 deletions

View File

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