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

Commit baa53b1

Browse files
authored
Merge pull request #2344 from thaJeztah/19.03_backport_builder_prune_flags
[19.03 backport] fix builder prune flag descriptions Upstream-commit: 7c803f7c3456efc19d5461f0918f834967bcf452 Component: cli
2 parents 058ac7d + 84d75db commit baa53b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • components/cli/cli/command/builder

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ func NewPruneCommand(dockerCli command.Cli) *cobra.Command {
4444

4545
flags := cmd.Flags()
4646
flags.BoolVarP(&options.force, "force", "f", false, "Do not prompt for confirmation")
47-
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')")
47+
flags.BoolVarP(&options.all, "all", "a", false, "Remove all unused build cache, not just dangling ones")
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)