From bd1e365ca08f79c33dda0aba3568082657fcee19 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 1 Jul 2009 12:42:32 +0200 Subject: [PATCH] replace multiple echos with one cat Signed-off-by: Nico Schottelius --- ccollect.sh | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 7c04f0b..ddfd878 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -111,20 +111,22 @@ display_version() usage() { - echo "${__myname}: [args] " - echo "" - echo " ccollect creates (pseudo) incremental backups" - echo "" - echo " -h, --help: Show this help screen" - echo " -p, --parallel: Parallelise backup processes" - echo " -a, --all: Backup all sources specified in ${CSOURCES}" - echo " -v, --verbose: Be very verbose (uses set -x)" - echo " -V, --version: Print version information" - echo "" - echo " This is version ${VERSION}, released on ${RELEASE}" - echo " (the first version was written on 2005-12-05 by Nico Schottelius)." - echo "" - echo " Retrieve latest ccollect at http://www.nico.schottelius.org/software/ccollect/" + cat << eof +${__myname}: [args] + + ccollect creates (pseudo) incremental backups + + -h, --help: Show this help screen + -p, --parallel: Parallelise backup processes + -a, --all: Backup all sources specified in ${CSOURCES} + -v, --verbose: Be very verbose (uses set -x) + -V, --version: Print version information + + This is version ${VERSION}, released on ${RELEASE} + (the first version was written on 2005-12-05 by Nico Schottelius). + + Retrieve latest ccollect at http://www.nico.schottelius.org/software/ccollect/ +eof exit 0 }