From 42a992a8c43c00ee0245b9bf0e788e0acede753f Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Sat, 23 May 2020 19:14:09 +0200 Subject: [PATCH] Fixed input parameters --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a36e18d..cb7db9e 100755 --- a/install.sh +++ b/install.sh @@ -7,8 +7,8 @@ if [[ ${PIPESTATUS[0]} -ne 4 ]]; then exit 1 fi -OPTIONS=dtlhus -LONGOPTS=device,timezone,locale,hostname,username,sudogrp,help +OPTIONS=d:t:l:h:u:s: +LONGOPTS=device:,timezone:,locale:,hostname:,username:,sudogrp:,help ! PARSED=$(getopt --options=$OPTIONS --longoptions=$LONGOPTS --name "$0" -- "$@") if [[ ${PIPESTATUS[0]} -ne 0 ]]; then