Skip to content
Snippets Groups Projects
Unverified Commit b5ae503d authored by Giancarlo Razzolini's avatar Giancarlo Razzolini Committed by GitHub
Browse files

Merge pull request #58 from Foxboron/morten/fix-preset

mkinitcpio: fixed missing _opt_long
parents f40bb425 cf96fa60
No related branches found
No related tags found
No related merge requests found
......@@ -412,7 +412,7 @@ process_preset() (
preset_microcode=${p}_microcode[@]
if [[ ${!preset_microcode:-$ALL_microcode} ]]; then
for mc in "${!preset_microcode:-${ALL_microcode[@]}}"; do
preset_cmd+=(-m "$mc")
preset_cmd+=(--microcode "$mc")
done
fi
msg2 "${preset_cmd[*]}"
......@@ -457,7 +457,7 @@ _opt_short='A:c:D:g:H:hk:nLMPp:r:S:sd:t:U:Vvz:'
_opt_long=('add:' 'addhooks:' 'config:' 'generate:' 'hookdir': 'hookhelp:' 'help'
'kernel:' 'listhooks' 'automods' 'moduleroot:' 'nocolor' 'allpresets'
'preset:' 'skiphooks:' 'save' 'generatedir:' 'builddir:' 'version' 'verbose' 'compress:'
'uefi:' 'microcode:' 'splash:' 'kernelimage:' 'uefistub:')
'uefi:' 'microcode:' 'splash:' 'kernelimage:' 'uefistub:' 'cmdline:' 'osrelease:')
parseopts "$_opt_short" "${_opt_long[@]}" -- "$@" || exit 1
set -- "${OPTRET[@]}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment