Merge pull request #1260 from mslacken/FixOverlayList

Fix wwctl overlay list completion
This commit is contained in:
Jonathon Anderson
2024-07-05 15:20:27 -06:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -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

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