From 77b8b4a26e01f833dc4472ac027de2d9a22988fc Mon Sep 17 00:00:00 2001 From: hayao Date: Sat, 19 Sep 2020 09:35:29 +0900 Subject: [PATCH] [disable] : -a and --arch --- allarch.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/allarch.sh b/allarch.sh index 5f9195a0..3e1d1c70 100755 --- a/allarch.sh +++ b/allarch.sh @@ -1313,8 +1313,8 @@ parse_files() { # Parse options ARGUMENT="${@}" -_opt_short="a:bc:deg:hjk:l:o:p:rt:u:w:x" -_opt_long="arch:,boot-splash,comp-type:,debug,cleaning,cleanup,gpgkey:,help,lang:,japanese,kernel:,out:,password:,comp-opts:,user:,work:,bash-debug,nocolor,noconfirm,nodepend,gitversion,shmkalteriso,msgdebug,noloopmod,tarball,noiso,noaur,nochkver,channellist,config:" +_opt_short="bc:deg:hjk:l:o:p:rt:u:w:x" +_opt_long="boot-splash,comp-type:,debug,cleaning,cleanup,gpgkey:,help,lang:,japanese,kernel:,out:,password:,comp-opts:,user:,work:,bash-debug,nocolor,noconfirm,nodepend,gitversion,shmkalteriso,msgdebug,noloopmod,tarball,noiso,noaur,nochkver,channellist,config:" OPT=$(getopt -o ${_opt_short} -l ${_opt_long} -- ${DEFAULT_ARGUMENT} ${ARGUMENT}) [[ ${?} != 0 ]] && exit 1 @@ -1323,10 +1323,6 @@ unset OPT _opt_short _opt_long while :; do case ${1} in - -a | --arch) - all_arch=(${2}) - shift 2 - ;; -b | --boot-splash) boot_splash=true shift 1 -- 2.11.0