Merge pull request #1260 from mslacken/FixOverlayList
Fix wwctl overlay list completion
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user