Skip to content

Commit eadb5b3

Browse files
committed
fix double [y/N] in container prune
Signed-off-by: Victor Vieux <vieux@docker.com>
1 parent b2641bd commit eadb5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/command/container/prune.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
4444
}
4545

4646
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?`
4848

4949
func runPrune(dockerCli *command.DockerCli, opts pruneOptions) (spaceReclaimed uint64, output string, err error) {
5050
if !opts.force && !command.PromptForConfirmation(dockerCli.In(), dockerCli.Out(), warning) {

0 commit comments

Comments
 (0)