From ae815266f07c41e8e57f81e13672003af5d2f5c0 Mon Sep 17 00:00:00 2001 From: Mayank Kumar Date: Tue, 3 Jul 2018 03:48:21 +0530 Subject: [PATCH] Add description for Option 3 --- set-eGPU.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/set-eGPU.sh b/set-eGPU.sh index 75d0042..31be01e 100755 --- a/set-eGPU.sh +++ b/set-eGPU.sh @@ -298,8 +298,10 @@ print_current_preferences() { # Check preferences for specified application check_app_preferences() { echo -e "\n>> ${BOLD}Check Application eGPU Preference${NORMAL}\n" + echo -e "Acronyms must be ${BOLD}all uppercase${NORMAL}.\nPartial names will return a list of possible applications.\nType ${BOLD}'QUIT'${NORMAL} to exit this submenu.\n" IFS= read -p "${BOLD}Application${NORMAL} Name or Acronym: " INPUT [[ -z "${INPUT}" ]] && echo -e "\nPlease enter an application name.\n" && return + [[ "${INPUT}" == "quit" ]] && echo && return GENERALIZED_APP_NAME="" BUNDLE_ID="$(osascript -e "id of app \"${INPUT}\"" 2>/dev/null)" [[ ! -z "${BUNDLE_ID}" ]] && echo && print_current_preferences "${BUNDLE_ID}" "${INPUT}" && echo && return