diff --git a/CHANGELOG.md b/CHANGELOG.md index bbcf4532..27799531 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix the issue that removing lines during wwctl overlay edit didn't work. #1235 - Fix the issue that new files created with wwctl overlay edit have 755 permissions. #1236 - Mount `/sys` and `/run` during `wwctl container exec`. #1287 +- Fix tab-completion for `wwctl overlay list`. #1260 ### Changed diff --git a/internal/app/wwctl/overlay/list/root.go b/internal/app/wwctl/overlay/list/root.go index de677b0e..ed1e7e68 100644 --- a/internal/app/wwctl/overlay/list/root.go +++ b/internal/app/wwctl/overlay/list/root.go @@ -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