Update powerwall.sh

This commit is contained in:
2023-12-11 22:05:54 -06:00
parent 7c3dcbefd8
commit 8c2d1a29b8

View File

@@ -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"