diff --git a/powerwall.sh b/powerwall.sh index b15f6956..d75b75c6 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -2410,7 +2410,7 @@ fi CHECK_SERVICES ;; average) AVERAGETEMP ${2} ${3} ${4};; - *) + oldhelp) echo -e "${idsCL[White]} Usage: ${idsCL[LightYellow]}[powerwall or pw]${idsCL[LightCyan]} {option}" echo echo -e " ${idsCL[LightCyan]}status ${idsCL[Default]}--> PowerWall Status Information" @@ -2448,6 +2448,26 @@ fi echo -e " ${idsCL[LightCyan]}update ${idsCL[Default]}--> Check for and install new PowerWall Script updates" echo ;; + *) + echo -e "${idsCL[Yellow]}Commands followed by '-h' will show specific command help. {work-in-progress}${idsCL[Default]}" + echo + echo -e "Usage: ${idsCL[LightCyan]}[powerwall or pw] ${idsCL[Yellow]}{COMMAND} ${idsCL[LightYellow]}{FLAGS}${idsCL[Default]} {" + echo + echo -e " ${idsCL[Yellow]}status${idsCL[Default]} - PowerWall Status Informatio" + echo + echo -e " ${idsCL[Yellow]}host${idsCL[Default]} - Host Power/ESXi Control" + echo + echo -e " ${idsCL[Yellow]}iscsi-vm-shutdown${idsCL[Default]} - Shutdown VM's running on iSCSI-(PRI or SYS) Datastore(s)" + echo + echo -e " ${idsCL[Yellow]}service${idsCL[Default]} - Manage an individual monitor service across multiple nodes" + echo + echo -e " ${idsCL[Yellow]}update${idsCL[Default]} - Check for and install new PowerWall Script updates" + echo + echo -e "}" + echo + echo + exit 0 + ;; esac # fi