From c9ce6dc65643d86f4f661d214d04666503698f99 Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Wed, 17 Oct 2018 00:35:10 +0000 Subject: [PATCH] builder/prune: rename max-age filter to unused-for in help output Signed-off-by: Tibor Vass --- cli/command/builder/prune.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/builder/prune.go b/cli/command/builder/prune.go index 6a53d7f788..3d4d4fc164 100644 --- a/cli/command/builder/prune.go +++ b/cli/command/builder/prune.go @@ -45,7 +45,7 @@ func NewPruneCommand(dockerCli command.Cli) *cobra.Command { flags := cmd.Flags() flags.BoolVarP(&options.force, "force", "f", false, "Do not prompt for confirmation") flags.BoolVarP(&options.all, "all", "a", false, "Remove all unused images, not just dangling ones") - flags.Var(&options.filter, "filter", "Provide filter values (e.g. 'max-age=24h')") + flags.Var(&options.filter, "filter", "Provide filter values (e.g. 'unused-for=24h')") flags.Var(&options.keepStorage, "keep-storage", "Amount of disk space to keep for cache") return cmd