Skip to content

Commit 99522a1

Browse files
authored
fix(ip-address): assign --server shell completion (#377)
1 parent 8af31fe commit 99522a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/commands/ipaddress/assign.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func (s *assignCommand) InitCommand() {
6060
}
6161

6262
func (s *assignCommand) InitCommandWithConfig(cfg *config.Config) {
63+
commands.Must(s.Cobra().RegisterFlagCompletionFunc("server", namedargs.CompletionFunc(completion.Server{}, cfg)))
6364
commands.Must(s.Cobra().RegisterFlagCompletionFunc("zone", namedargs.CompletionFunc(completion.Zone{}, cfg)))
6465
}
6566

0 commit comments

Comments
 (0)