From db50ab50085f35952f49d4b7c009e1303862d965 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 Jun 2022 07:25:06 +0200 Subject: Adding default interactive mode for container stop command. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 2 +- share/man/container-stop.1.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/bash-completion/container b/share/bash-completion/container index 8a1f43d..e08b7f8 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -257,7 +257,7 @@ _container() ;; *) - opts="-n --name -f --force" + opts="-n --name -f --force -i --interactive" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; diff --git a/share/man/container-stop.1.rst b/share/man/container-stop.1.rst index 31b24b4..567b2f4 100644 --- a/share/man/container-stop.1.rst +++ b/share/man/container-stop.1.rst @@ -51,6 +51,9 @@ The following **container stop** options are available: -f, --force: Instead of running the proper shutdown sequence, terminate all processes of the container imediatly. +-i, --interactive: + Prompt before every stopping (default). + -v, --verbose: Explain what is being done. -- cgit v1.2.3