summaryrefslogtreecommitdiffstats
path: root/lib/container/enter
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-16 19:16:14 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-01 09:21:56 +0000
commit643855476609b8fc8d7c768dce3e38ab08af1baa (patch)
tree0121b8cdfa51a937bf4dfb94c37e73106c369053 /lib/container/enter
parentCreating non-existing source directory for bind mounts automatically in conta... (diff)
downloadcompute-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/enter')
-rwxr-xr-xlib/container/enter3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/container/enter b/lib/container/enter
index 0de88da..101b43e 100755
--- a/lib/container/enter
+++ b/lib/container/enter
@@ -25,8 +25,7 @@ MACHINES="/var/lib/machines"
Parameters ()
{
LONG_OPTIONS="name:,"
-
- OPTIONS="n:"
+ OPTIONS="n:,"
PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})"