Skip to content

Commit

Permalink
Add completion for --uts
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <[email protected]>
  • Loading branch information
albers committed Nov 8, 2024
1 parent 3a2503f commit 2915749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/command/container/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func addCompletions(cmd *cobra.Command, dockerCLI completion.APIClientProvider)
_ = cmd.RegisterFlagCompletionFunc("storage-opt", completeStorageOpt)
_ = cmd.RegisterFlagCompletionFunc("ulimit", completeUlimit)
_ = cmd.RegisterFlagCompletionFunc("userns", completion.FromList("host"))
_ = cmd.RegisterFlagCompletionFunc("uts", completion.FromList("host"))
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCLI, true))
}

Expand Down

0 comments on commit 2915749

Please sign in to comment.