Browse code

fix double [y/N] in container prune

Signed-off-by: Victor Vieux <vieux@docker.com>

Victor Vieux authored on 2016/11/04 02:33:17
Showing 1 changed files
... ...
@@ -44,7 +44,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
44 44
 }
45 45
 
46 46
 const warning = `WARNING! This will remove all stopped containers.
47
-Are you sure you want to continue? [y/N] `
47
+Are you sure you want to continue?`
48 48
 
49 49
 func runPrune(dockerCli *command.DockerCli, opts pruneOptions) (spaceReclaimed uint64, output string, err error) {
50 50
 	if !opts.force && !command.PromptForConfirmation(dockerCli.In(), dockerCli.Out(), warning) {