From: Jeremy Kerr Date: Mon, 20 May 2013 02:42:08 +0000 (+0800) Subject: utils/pbconsole: Use here-document for usage text X-Git-Tag: v1.0.0~603 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=6e2d2e78a178a40bcbce903020626c62f74bf046 utils/pbconsole: Use here-document for usage text Allows for cleaner usage message in the source. Signed-off-by: Jeremy Kerr --- diff --git a/utils/pb-console b/utils/pb-console index c96ac98..00b25ac 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -10,12 +10,14 @@ shell=sh detach=0 usage() { - echo "pb-console [OPTIONS] console_dev" >&2 - echo "OPTIONS" >&2 - echo " -d, --detach" >&2 - echo " Start in a detached (background) state." >&2 - echo " -h, --help" >&2 - echo " Print a help message." >&2 + cat >&2 <