summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-01-16 17:49:42 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-01-16 17:51:15 +0000
commitaf5ae490f8e7ea77e114d6542a4170aa36a58391 (patch)
tree31a8c6e56d039c8bb6305a10eb0ba6363be14834 /lib
parentFixing FTBFS with newer asciidoc versions. (diff)
downloadcompute-tools-af5ae490f8e7ea77e114d6542a4170aa36a58391.tar.xz
compute-tools-af5ae490f8e7ea77e114d6542a4170aa36a58391.zip
Adding verbose option for container start command.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/container/start8
1 files changed, 6 insertions, 2 deletions
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