add -cleanup to the template script accordingly

This commit is contained in:
George Danchev 2011-06-27 14:56:36 +00:00
parent 248cc97e0b
commit 5209e791b9
1 changed files with 7 additions and 1 deletions

View File

@ -18,14 +18,20 @@ print_help() {
cat << HLP cat << HLP
Usage: Usage:
$0 -help $0 -help
# using a config file ${CONFFILE} # using a config file ${CONFFILE}
$0 -rc [-keep] $0 -rc [-keep]
# without using a config file # without using a config file
$0 $0 your_own_options_here
# cleanup test generated data directory and exit
$0 -cleanup
HLP HLP
} }
##################################################################### #####################################################################
print_help
#if [ ! -x "${XOR}" ]; then #if [ ! -x "${XOR}" ]; then
# printf "$0: Not found or not an executable: $XOR\n" # printf "$0: Not found or not an executable: $XOR\n"
# exit 50 # exit 50