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

Commit 850f81c

Browse files
committed
Add rm --all flag for backward compatibility (deprecated - no effect)
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent 38b4220 commit 850f81c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/cmd/compose/remove.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Any data which is not in a volume will be lost.`,
5656
f.BoolVarP(&opts.force, "force", "f", false, "Don't ask to confirm removal")
5757
f.BoolVarP(&opts.stop, "stop", "s", false, "Stop the containers, if required, before removing")
5858
f.BoolVarP(&opts.volumes, "volumes", "v", false, "Remove any anonymous volumes attached to containers")
59+
f.BoolP("all", "a", false, "Deprecated - no effect")
60+
f.MarkHidden("all") //nolint:errcheck
61+
5962
return cmd
6063
}
6164

0 commit comments

Comments
 (0)