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

Commit

Permalink
Add rm --all flag for backward compatibility (deprecated - no effect)
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Tardif <[email protected]>
  • Loading branch information
gtardif committed Apr 28, 2021
1 parent 38b4220 commit 850f81c
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 850f81c

Please sign in to comment.