Fix wwctl overlay mkdir #248.

Added argument testing around this.
This commit is contained in:
MatthewHink
2022-01-27 11:50:10 -05:00
parent bc24cb65e3
commit 1e0e270812
2 changed files with 22 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ var (
Short: "Create a new directory within an Overlay",
Long: "This command creates a new directory within the Warewulf OVERLAY_NAME.",
RunE: CobraRunE,
Args: cobra.MinimumNArgs(3),
Args: cobra.MinimumNArgs(2),
}
PermMode int32
)