Update powerwall.sh
This commit is contained in:
@@ -2315,18 +2315,18 @@ 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 "Usage: ${idsCL[Yellow]}[powerwall or pw] check {type} {flags} ${idsCL[Default]} {"
|
||||
echo -e "\nUsage: ${idsCL[Yellow]}[powerwall or pw] check {type} {flags} ${idsCL[Default]} {"
|
||||
width=35
|
||||
printf "%-${width}s- %s\n" " {type}" "{power / temp} To check either power or temperatures"
|
||||
echo
|
||||
printf "%-${width}s- %s\n" " 'power' flag options" ""
|
||||
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
|
||||
printf "%-${width}s- %s\n" " 'temp' flag options" ""
|
||||
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"
|
||||
echo -e "}\n"
|
||||
|
||||
Reference in New Issue
Block a user