mirror of
https://github.com/docker/cli.git
synced 2026-01-06 05:41:44 +03:00
cli/command/secret: remove completion for "ls"
This command takes no arguments, so should not provide completion. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -31,7 +31,7 @@ func newSecretListCommand(dockerCLI command.Cli) *cobra.Command {
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return runSecretList(cmd.Context(), dockerCLI, options)
|
||||
},
|
||||
ValidArgsFunction: completeNames(dockerCLI),
|
||||
ValidArgsFunction: cobra.NoFileCompletions,
|
||||
DisableFlagsInUseLine: true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user