diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-06-16 19:16:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-07-01 09:21:56 +0000 |
commit | 643855476609b8fc8d7c768dce3e38ab08af1baa (patch) | |
tree | 0121b8cdfa51a937bf4dfb94c37e73106c369053 /lib/container/start | |
parent | Creating non-existing source directory for bind mounts automatically in conta... (diff) | |
download | compute-tools-643855476609b8fc8d7c768dce3e38ab08af1baa.tar.xz compute-tools-643855476609b8fc8d7c768dce3e38ab08af1baa.zip |
Harmonizing defintions of long and short options in getopt code of container commands.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container/start')
-rwxr-xr-x | lib/container/start | 4 |
1 files changed, 2 insertions, 2 deletions
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 -- ${@})" |