mirror of
https://github.com/docker/cli.git
synced 2026-10-16 02:44:59 -04:00
fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: edc307cb9213d11d9c5911b08ebd921a097939c0 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user