-cf|--config-file) if [ ! "$2" ]; then echo "${SAFE_BUILD_COMMAND##*/}: option $1 required an argument" exit 1 fi SAFE_BUILD_CONFIG_FILE="$2" shift ;;