@@ -153,13 +153,12 @@ _usage () {
153153 echo " -x | --bash-debug Enable bash debug mode(set -xv)"
154154 echo " --channellist Output the channel list and exit"
155155 echo " --gitversion Add Git commit hash to image file version"
156- echo " --log Enable logging (re-run script with tee)"
157156 echo " --logpath <file> Set log file path (use with --log)"
158- echo " --nolog No logging "
157+ echo " --[no]log (No) log ;re-run script with tee "
159158 echo " --msgdebug Enables output debugging"
160159 echo " --noaur Ignore aur packages (Use only for debugging)"
161160 echo " --nocolor No output colored output"
162- echo " --noconfirm No check the settings before building"
161+ echo " --[no]confirm (No) check the settings before building"
163162 echo " --nochkver No check the version of the channel"
164163 echo " --nodebug No debug message"
165164 echo " --noefi No efi boot (Use only for debugging)"
@@ -1114,7 +1113,7 @@ make_iso() {
11141113# Parse options
11151114ARGUMENT=(" ${@ } " )
11161115OPTS=" a:bc:deg:hjk:l:o:p:rt:u:w:x"
1117- OPTL=" 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,msgdebug,noloopmod,tarball,noiso,noaur,nochkver,channellist,config:,noefi,nodebug,nosigcheck,normwork,log,logpath:,nolog,nopkgbuild,pacman-debug"
1116+ OPTL=" 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,msgdebug,noloopmod,tarball,noiso,noaur,nochkver,channellist,config:,noefi,nodebug,nosigcheck,normwork,log,logpath:,nolog,nopkgbuild,pacman-debug,confirm, "
11181117if ! OPT=$( getopt -o ${OPTS} -l ${OPTL} -- ${DEFAULT_ARGUMENT} " ${ARGUMENT[@]} " ) ; then
11191118 exit 1
11201119fi
@@ -1207,6 +1206,10 @@ while true; do
12071206 noconfirm=true
12081207 shift 1
12091208 ;;
1209+ --confirm)
1210+ noconfirm=false
1211+ shift 1
1212+ ;;
12101213 --nodepend)
12111214 nodepend=true
12121215 shift 1
0 commit comments