From dff6e2bb08fe615939ec997bf60183a9dc933c44 Mon Sep 17 00:00:00 2001 From: Dan Conley Date: Thu, 22 Feb 2024 20:04:01 -0500 Subject: [PATCH] Provide more information on pdsadmin error --- pdsadmin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdsadmin.sh b/pdsadmin.sh index 913d2b4..c6212f5 100644 --- a/pdsadmin.sh +++ b/pdsadmin.sh @@ -20,7 +20,8 @@ SCRIPT_URL="${PDSADMIN_BASE_URL}/${COMMAND}.sh" SCRIPT_FILE="$(mktemp /tmp/pdsadmin.${COMMAND}.XXXXXX)" if ! curl --fail --silent --show-error --location --output "${SCRIPT_FILE}" "${SCRIPT_URL}"; then - echo "ERROR: ${COMMAND} not found" + echo "ERROR: command '$0 ${COMMAND}' not found" + echo "Run '$0 help' for a list of commands" exit 2 fi