summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container/start')
-rwxr-xr-xlib/container/start10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/container/start b/lib/container/start
index 13fc6ef..f89944d 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2014-2019 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+# Copyright (C) 2014-2020 Daniel Baumann <daniel.baumann@open-infrastructure.net>
#
# SPDX-License-Identifier: GPL-3.0+
#
@@ -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