Improve error handling
This commit is contained in:
parent
ed5fbaef06
commit
53e16f68d9
|
@ -107,7 +107,9 @@ while getopts "h?p:Pi:n:c:z:ga:y" opt; do
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
shift $((OPTIND - 1))
|
||||||
|
|
||||||
|
[[ -z $1 ]] || usage "Unexpected argument: $1"
|
||||||
|
|
||||||
prepareInstancesAndWriteConfigFile() {
|
prepareInstancesAndWriteConfigFile() {
|
||||||
$metricsWriteDatapoint "testnet-deploy net-config-begin=1"
|
$metricsWriteDatapoint "testnet-deploy net-config-begin=1"
|
||||||
|
|
Loading…
Reference in New Issue