diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-22 16:03:12 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-06-01 15:37:47 +0200 |
commit | b44e4e7cfd88fc5e2bd95fa9d0dbc36b1bd64483 (patch) | |
tree | 27fa4df1eeb3ea107638fdb8c6b9f6b520a9be55 /mkinitcpio | |
parent | 015d482ce8394acd2f8bc9da2cd70339ebbcc3f9 (diff) | |
download | mkinitcpio-b44e4e7cfd88fc5e2bd95fa9d0dbc36b1bd64483.tar.gz mkinitcpio-b44e4e7cfd88fc5e2bd95fa9d0dbc36b1bd64483.tar.xz |
add hookpoints to --hookhelp output
Generalize the awk program embedded in add_runscript and create a
separate function which can be reused to display the specific hooks that
a script has.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-x | mkinitcpio | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -188,6 +188,7 @@ while :; do fi msg "Help for hook '$1':" help + list_hookpoints "$script" exit 0 ;; -L|--listhooks) msg "Available hooks" |