Setting sane defaults for node and profile selection

This commit is contained in:
Gregory Kurtzer
2022-02-12 01:27:58 +00:00
parent c8f09477b3
commit 30994fd60d
4 changed files with 13 additions and 19 deletions

View File

@@ -16,7 +16,7 @@ var (
Short: "Configure node profile properties",
Long: "This command sets configuration properties for the node PROFILE(s).\n\n" +
"Note: use the string 'UNSET' to remove a configuration",
Args: cobra.MinimumNArgs(1),
Args: cobra.MinimumNArgs(0),
RunE: CobraRunE,
ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
if len(args) != 0 {