From c0863e6a9fa3f02346f965499a40fa0801498210 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Tue, 28 Sep 2021 11:30:15 +0200 Subject: [PATCH] nouns for 'wwwctl overlay' --- internal/app/wwctl/overlay/list/root.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/app/wwctl/overlay/list/root.go b/internal/app/wwctl/overlay/list/root.go index 1213d930..9643845b 100644 --- a/internal/app/wwctl/overlay/list/root.go +++ b/internal/app/wwctl/overlay/list/root.go @@ -10,9 +10,10 @@ var ( Short: "List Warewulf Overlays and files", Long: "This command will show you information about Warewulf overlays and the\n" + "files contained within.", - RunE: CobraRunE, - Args: cobra.MinimumNArgs(1), - Aliases: []string{"ls"}, + RunE: CobraRunE, + Args: cobra.MinimumNArgs(1), + Aliases: []string{"ls"}, + ValidArgs: []string{"system", "runtime"}, } ListContents bool ListLong bool