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/limit | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/container/limit') diff --git a/lib/container/limit b/lib/container/limit index c3b0ba8..8b5ffd5 100755 --- a/lib/container/limit +++ b/lib/container/limit @@ -25,8 +25,7 @@ MACHINES="/var/lib/machines" Parameters () { LONG_OPTIONS="name:,blockio-device-weight:,blockio-read-bandwith:,blockio-weight:,blockio-write-bandwith:,cpu-quota:,cpu-shares:,memory-limit:,tasks-max:," - - OPTIONS="n:b:c:m:t:" + OPTIONS="n:b:c:m:t:," PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})" -- cgit v1.2.3