From 8c2d1a29b821e7a63945342a0f54f9fd34e7975f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Dec 2023 22:05:54 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/powerwall.sh b/powerwall.sh index e7936f84..d740ae45 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -2315,17 +2315,15 @@ fi power) CHECKPOWER ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};; temp) CHECKTEMP ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};; -h|-help) - echo -e "\nUsage: ${idsCL[Yellow]}[powerwall or pw] check {type} {flags} ${idsCL[Default]} {" + echo -e "\nUsage: ${idsCL[Yellow]}[powerwall or pw] check {type} {flags} ${idsCL[Default]} {\n" width=35 printf "%-${width}s- %s\n" " {type}" "{power / temp} To check either power or temperatures" - echo echo -e "\n ${idsCL[LightCyan]}power${idsCL[Default]} flag options" printf "%-${width}s- %s\n" " -a|-avg {#days}" "Show average values for X number of days" printf "%-${width}s- %s\n" " -m|-mainsite" "Narrow to Mainsite Equipment" printf "%-${width}s- %s\n" " -o|-offsite" "Narrow to Offsite Equipment" printf "%-${width}s- %s\n" " -p|-power" "Narrow to Power Equipment" printf "%-${width}s- %s\n" " -e|-esxi" "Narrow to ESXi Hosts" - echo echo -e "\n ${idsCL[LightCyan]}temp${idsCL[Default]} flag options" printf "%-${width}s- %s\n" " -a|-avg {#days}" "Show average values for X number of days" printf "%-${width}s- %s\n" " -s|-search" "Narrow to search of sensor name"