aboutsummaryrefslogtreecommitdiffstats
path: root/update-kernel.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:28:23 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-02 23:12:27 +0100
commit281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24 (patch)
tree9bf3e352b97c7d3742c94b31d7d2e6886dc001b1 /update-kernel.in
parent07c02f672a5708e4dcd9ed9aa3935840916f4c6e (diff)
downloadalpine-conf-281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24.tar.bz2
alpine-conf-281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24.tar.xz
indent heredocs and replace echos with heredoc where appropriate
Diffstat (limited to 'update-kernel.in')
-rw-r--r--update-kernel.in32
1 files changed, 16 insertions, 16 deletions
diff --git a/update-kernel.in b/update-kernel.in
index b529e35..d3959f8 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -34,22 +34,22 @@ usage() {
[ "$2" ] && error "$2"
local opts="[-F <feature>]... [-p <package>]..."
local dest_args="[-a <arch>] <dest_dir>"
- cat >&2 <<EOF
-
-Syntax: $SCRIPT $opts [$dest_args]
- $SCRIPT -f <flavor> $opts $dest_args
- $SCRIPT -b <build_dir> $opts [$dest_args]
-
-Options: -a|--arch <arch> Install kernel for specified architecture
- -b|--build <build_dir> Install custom-built kernel
- -f|--flavor <flavor> Install kernel of specified flavor
- -F|--feature <feature> Enable initfs feature
- -p|--package <package> Additional module or firmware package
- -v|--verbose Verbose output
- -K|--hostkeys Include host keys in initramfs
- --repositories-file <f> apk repositories file
-
-EOF
+ cat >&2 <<-__EOF__
+
+ Syntax: $SCRIPT $opts [$dest_args]
+ $SCRIPT -f <flavor> $opts $dest_args
+ $SCRIPT -b <build_dir> $opts [$dest_args]
+
+ Options: -a|--arch <arch> Install kernel for specified architecture
+ -b|--build <build_dir> Install custom-built kernel
+ -f|--flavor <flavor> Install kernel of specified flavor
+ -F|--feature <feature> Enable initfs feature
+ -p|--package <package> Additional module or firmware package
+ -v|--verbose Verbose output
+ -K|--hostkeys Include host keys in initramfs
+ --repositories-file <f> apk repositories file
+
+ __EOF__
exit $1
}