Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 29db22e

Browse files
sj26thaJeztah
authored andcommitted
unused-for is a deprecated synonym
See https://github.com/moby/moby/blob/9e7d5ac5ea55dc57185f49476e03d6efa76b3512/builder/builder-next/builder.go#L574 Signed-off-by: Samuel Cochran <sj26@sj26.com> (cherry picked from commit 758d12e65112bed583396ee3f43cf6302f249fef) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 829843333b0bb62cfb71411085c59b28151cf47f Component: cli
1 parent a53add6 commit 29db22e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • components/cli/cli/command/builder

components/cli/cli/command/builder/prune.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func NewPruneCommand(dockerCli command.Cli) *cobra.Command {
4545
flags := cmd.Flags()
4646
flags.BoolVarP(&options.force, "force", "f", false, "Do not prompt for confirmation")
4747
flags.BoolVarP(&options.all, "all", "a", false, "Remove all unused images, not just dangling ones")
48-
flags.Var(&options.filter, "filter", "Provide filter values (e.g. 'unused-for=24h')")
48+
flags.Var(&options.filter, "filter", "Provide filter values (e.g. 'until=24h')")
4949
flags.Var(&options.keepStorage, "keep-storage", "Amount of disk space to keep for cache")
5050

5151
return cmd

0 commit comments

Comments
 (0)