wwctl overlay list completes existing overlays

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2024-06-13 11:30:32 +02:00
committed by Jonathon Anderson
parent 5e0f3d0327
commit 4a4fcc97d4
2 changed files with 1 additions and 1 deletions

View File

@@ -14,7 +14,6 @@ var (
RunE: CobraRunE,
Args: cobra.MinimumNArgs(0),
Aliases: []string{"ls"},
ValidArgs: []string{"system", "runtime"},
ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
if len(args) != 0 {
return nil, cobra.ShellCompDirectiveNoFileComp