From 643855476609b8fc8d7c768dce3e38ab08af1baa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 16 Jun 2016 21:16:14 +0200 Subject: Harmonizing defintions of long and short options in getopt code of container commands. Signed-off-by: Daniel Baumann --- lib/container/start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/container/start') diff --git a/lib/container/start b/lib/container/start index 82d7e1c..a4dc033 100755 --- a/lib/container/start +++ b/lib/container/start @@ -28,8 +28,8 @@ SYSTEMCTL="true" Parameters () { - LONG_OPTIONS="name:,nspawn,start" - OPTIONS="n:" + LONG_OPTIONS="name:,nspawn,start," + OPTIONS="n:," PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})" -- cgit v1.2.3