Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1606 from gtardif/compose_rm_all
Browse files Browse the repository at this point in the history
Add rm --all flag for backward compatibility (deprecated - no effect)
  • Loading branch information
ndeloof authored Apr 30, 2021
2 parents 7d43d39 + 850f81c commit 63057f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/cmd/compose/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ Any data which is not in a volume will be lost.`,
f.BoolVarP(&opts.force, "force", "f", false, "Don't ask to confirm removal")
f.BoolVarP(&opts.stop, "stop", "s", false, "Stop the containers, if required, before removing")
f.BoolVarP(&opts.volumes, "volumes", "v", false, "Remove any anonymous volumes attached to containers")
f.BoolP("all", "a", false, "Deprecated - no effect")
f.MarkHidden("all") //nolint:errcheck

return cmd
}

Expand Down

0 comments on commit 63057f6

Please sign in to comment.