From 6e2d2e78a178a40bcbce903020626c62f74bf046 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 20 May 2013 10:42:08 +0800 Subject: utils/pbconsole: Use here-document for usage text Allows for cleaner usage message in the source. Signed-off-by: Jeremy Kerr --- utils/pb-console | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'utils') 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 <