diff options
-rwxr-xr-x | mkinitcpio | 4 | ||||
-rw-r--r-- | mkinitcpio.8.txt | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -120,7 +120,9 @@ while getopts ':c:k:sb:g:p:m:nvH:LMhS:t:z:' arg; do p) PRESET=$OPTARG ;; n) COLOR=0 ;; v) QUIET=0 ;; - S) IFS=, read -r -a SKIPHOOKS <<< "$OPTARG" ;; + S) IFS=, read -r -a skip <<< "$OPTARG" + SKIPHOOKS+=("${skip[@]}") + unset skip ;; H) if script=$(find_in_dirs "$OPTARG" "${INSTDIR[@]}"); then . "$script" if [[ $(type -t help) != function ]]; then diff --git a/mkinitcpio.8.txt b/mkinitcpio.8.txt index 9a2d920..1eb42a8 100644 --- a/mkinitcpio.8.txt +++ b/mkinitcpio.8.txt @@ -64,6 +64,7 @@ Options *-S* 'hooks':: Skip 'hooks' when generating the image. Several hooks should be comma-separated. + This option can be specified multiple times. *-s*:: Saves the build directory for the initial ramdisk. Default: no; This means |