From af5ae490f8e7ea77e114d6542a4170aa36a58391 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 16 Jan 2020 18:49:42 +0100 Subject: Adding verbose option for container start command. Signed-off-by: Daniel Baumann --- lib/container/start | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/container/start b/lib/container/start index 13fc6ef..4accd82 100755 --- a/lib/container/start +++ b/lib/container/start @@ -34,8 +34,8 @@ Parameters () { OPTIONS_ALL="" - GETOPT_LONGOPTIONS="name:,force,nspawn,start," - GETOPT_OPTIONS="n:f," + GETOPT_LONGOPTIONS="name:,force,nspawn,start,verbose," + GETOPT_OPTIONS="n:,f,v," PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${COMMAND} --options ${GETOPT_OPTIONS} --shell sh -- ${@})" @@ -75,6 +75,10 @@ Parameters () shift 1 ;; + -v|--verbose) + VERBOSE="true" + ;; + --) shift 1 break -- cgit v1.2.3