diff --git a/cmd/ocm/edit/cluster/cmd.go b/cmd/ocm/edit/cluster/cmd.go index 2dcc5f07..163ebcca 100644 --- a/cmd/ocm/edit/cluster/cmd.go +++ b/cmd/ocm/edit/cluster/cmd.go @@ -48,6 +48,7 @@ var Cmd = &cobra.Command{ Example: ` # Edit a cluster named "mycluster" to make it private ocm edit cluster mycluster --private`, RunE: run, + Args: cobra.MinimumNArgs(1), } func init() { @@ -133,7 +134,7 @@ func wasClusterWideProxyReceived(httpProxy, httpsProxy, noProxy, additionalTrust } func run(cmd *cobra.Command, argv []string) error { - // Check that there is exactly one cluster name, identifir or external identifier in the + // Check that there is exactly one cluster name, identifier or external identifier in the // command line arguments: if len(argv) != 1 { return fmt.Errorf(