From 7034bdfaf3e91b132ca0b68167570e4ed9384e2f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 3 May 2018 11:57:10 +0200 Subject: Adding -v, --verbose option to container-create command to be used e.g. when mass-creating new containers in a row. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 2 +- share/man/container-create.1.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/bash-completion/container b/share/bash-completion/container index 0a9af1a..29643c2 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -76,7 +76,7 @@ _container() ;; *) - opts="-n --name -c --capability -d --drop-capability -s --script -b --bind --bind-ro" + opts="-n --name -c --capability -d --drop-capability -s --script -v --verbose -b --bind --bind-ro" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; diff --git a/share/man/container-create.1.txt b/share/man/container-create.1.txt index 6ffc867..d21bd58 100644 --- a/share/man/container-create.1.txt +++ b/share/man/container-create.1.txt @@ -55,6 +55,9 @@ The following container-create options are available: *-s, --script='SCRIPT'*:: Specify container creation script, defaults to debootstrap. +*-v, --verbose*:: + Explain what is being done. + *-b, --bind='DIRECTORY:DIRECTORY[:OPTIONS][;DIRECTORY:DIRECTORY[:OPTIONS]]'*:: Specify container read-write bind mounts, see systemd-nspawn(1) --bind option. -- cgit v1.2.3