replace multiple echos with one cat
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
ca1231a576
commit
bd1e365ca0
1 changed files with 16 additions and 14 deletions
30
ccollect.sh
30
ccollect.sh
|
@ -111,20 +111,22 @@ display_version()
|
||||||
|
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
echo "${__myname}: [args] <interval name> <sources to backup>"
|
cat << eof
|
||||||
echo ""
|
${__myname}: [args] <interval name> <sources to backup>
|
||||||
echo " ccollect creates (pseudo) incremental backups"
|
|
||||||
echo ""
|
ccollect creates (pseudo) incremental backups
|
||||||
echo " -h, --help: Show this help screen"
|
|
||||||
echo " -p, --parallel: Parallelise backup processes"
|
-h, --help: Show this help screen
|
||||||
echo " -a, --all: Backup all sources specified in ${CSOURCES}"
|
-p, --parallel: Parallelise backup processes
|
||||||
echo " -v, --verbose: Be very verbose (uses set -x)"
|
-a, --all: Backup all sources specified in ${CSOURCES}
|
||||||
echo " -V, --version: Print version information"
|
-v, --verbose: Be very verbose (uses set -x)
|
||||||
echo ""
|
-V, --version: Print version information
|
||||||
echo " This is version ${VERSION}, released on ${RELEASE}"
|
|
||||||
echo " (the first version was written on 2005-12-05 by Nico Schottelius)."
|
This is version ${VERSION}, released on ${RELEASE}
|
||||||
echo ""
|
(the first version was written on 2005-12-05 by Nico Schottelius).
|
||||||
echo " Retrieve latest ccollect at http://www.nico.schottelius.org/software/ccollect/"
|
|
||||||
|
Retrieve latest ccollect at http://www.nico.schottelius.org/software/ccollect/
|
||||||
|
eof
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue