Add --remove-orphans on down command

Signed-off-by: Sander Hoentjen <shoentjen@antagonist.nl>
This commit is contained in:
Sander Hoentjen
2023-02-24 12:16:36 +01:00
committed by Muayyad Alsadi
parent e84451f4ea
commit b4c0792995
2 changed files with 26 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ _completeExecArgs() {
# complete the arguments for `podman-compose down` and return 0
_completeDownArgs() {
down_opts="${help_opts} -v --volumes -t --timeout"
down_opts="${help_opts} -v --volumes -t --timeout --remove-orphans"
if [[ ${prev} == "-t" || ${prev} == "--timeout" ]]; then
return 0
elif [[ ${cur} == -* ]]; then