From bc51517bd83ff2a81daaa8642aa6050e89d6f5e0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 24 Jan 2006 22:36:28 +0100 Subject: [PATCH] Cosmetic changes --- ccollect.sh | 15 ++++++++------- doc/TODO | 3 +++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 1f3d4e0..f1bbb79 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -14,9 +14,10 @@ CPREEXEC="$CDEFAULTS/pre_exec" CPOSTEXEC="$CDEFAULTS/post_exec" TMP=$(mktemp /tmp/$(basename $0).XXXXXX) -WE=$(basename $0) VERSION=0.3.1 RELEASE="2006-XX-XX" +HALF_VERSION="ccollect $VERSION" +FULL_VERSION="ccollect $VERSION ($RELEASE)" # # unset parallel execution @@ -40,11 +41,9 @@ add_name() # usage() { - echo "$WE: [args] " + echo "$(basename $0): [args] " echo "" - echo " Nico Schottelius (nico-linux-ccollect schottelius.org) - 2005-12-06" - echo "" - echo " Backup data pseudo incremental" + echo " ccollect creates (pseudo) incremental backups" echo "" echo " -h, --help: Show this help screen" echo " -p, --parallel: Parellize backup process" @@ -53,7 +52,9 @@ usage() echo "" echo " Retrieve latest ccollect at http://linux.schottelius.org/ccollect/." echo "" - echo " Version: $VERSION ($RELEASE, Grey Sunday Release)" + echo " Version: $FULL_VERSION" + echo "" + echo " Initial Version written on 2005-12-06 by Nico Schottelius" exit 0 } @@ -146,7 +147,7 @@ fi if [ "$no_shares" -lt 1 ]; then usage else - echo "==> $WE: Beginning backup using intervall $INTERVALL <==" + echo "==> $HALF_VERSION: Beginning backup using intervall $INTERVALL <==" fi # diff --git a/doc/TODO b/doc/TODO index 949d760..7374b26 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,3 +1,6 @@ +- update documentation: + - exit pre/post exec -> error codes (after implementation!) + - summary support -> release 0.3.1 - write mkccollectconfig o create source configuration o another script for changing defaults