added help

dynatrace
Daniel Mikula 2023-05-16 07:51:15 +02:00
parent ae34e938ce
commit e630ba5f8f
1 changed files with 7 additions and 0 deletions

View File

@ -7,8 +7,15 @@
echo "Installing dynatrace oneagent"
show_help() {
cat <<EOF
Usage: $0 <dynatrace_token>
EOF
}
if [ -z "$1" ]; then
echo "ERROR: no token provided."
show_help
exit 1
else
echo "Downloading oneagent..."