Преглед на файлове

Merge pull request #28040 from vieux/fix_prune_container_msg

fix double [y/N] in container prune
Victor Vieux преди 8 години
родител
ревизия
e9158358e5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      cli/command/container/prune.go

+ 1 - 1
cli/command/container/prune.go

@@ -44,7 +44,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
 }
 
 const warning = `WARNING! This will remove all stopped containers.
-Are you sure you want to continue? [y/N] `
+Are you sure you want to continue?`
 
 func runPrune(dockerCli *command.DockerCli, opts pruneOptions) (spaceReclaimed uint64, output string, err error) {
 	if !opts.force && !command.PromptForConfirmation(dockerCli.In(), dockerCli.Out(), warning) {