add -cleanup to the template script accordingly
This commit is contained in:
parent
d67fd2bab7
commit
ac50b76c9f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user