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/auto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/container/auto') diff --git a/lib/container/auto b/lib/container/auto index 247b667..ac65595 100755 --- a/lib/container/auto +++ b/lib/container/auto @@ -24,8 +24,8 @@ CONFIG="/etc/container-tools/config" Parameters () { - LONG_OPTIONS="start,stop" - OPTIONS="s,t" + LONG_OPTIONS="start,stop," + OPTIONS="s,t," PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})" -- cgit v1.2.3