@@ -16,14 +16,13 @@ testType=$1
1616# Message Types
1717# #
1818
19- fail=" [$( tput setaf 1) FAIL$( tput sgr0) ]"
20- ok=" [$( tput setaf 2) OK $( tput sgr0) ]"
21- running=" [$( tput setaf 3) * $( tput sgr0) ]"
19+ fail=" [$( tput setaf 1) FAIL $( tput sgr0) ]"
20+ ok=" [$( tput setaf 2) OK $( tput sgr0) ]"
21+ running=" [$( tput setaf 3) ** $( tput sgr0) ]"
2222notice=" [$( tput setaf 3) NOTICE$( tput sgr0) ]"
23- warning=" [$( tput setaf 3) WARNING$( tput sgr0) ]"
24- info=" [$( tput setaf 6) INFO$( tput sgr0) ]"
25- finish=" [$( tput setaf 4) DONE$( tput sgr0) ]"
26-
23+ warn=" [$( tput setaf 3) WARN $( tput sgr0) ]"
24+ info=" [$( tput setaf 6) INFO $( tput sgr0) ]"
25+ finish=" [$( tput setaf 4) DONE $( tput sgr0) ]"
2726
2827# #
2928# Startup Checks
5150# #
5251
5352echo
54- echo " Welcome to the DigitalOcean Speed Test CLI $version ."
55- echo " A thing made by Zachary DuBois."
56- echo " Source is available here: https://github.com/ZacharyDuBois/DigitalOcean-Speed-Test-CLI"
53+ echo " $info Welcome to the DigitalOcean Speed Test CLI $version ."
54+ echo " $info A thing made by Zachary DuBois."
55+ echo " $info Source is available here: https://github.com/ZacharyDuBois/DigitalOcean-Speed-Test-CLI"
5756echo
5857
5958
@@ -116,7 +115,7 @@ pingTest() {
116115 if ! [[ " $pkLossRaw " =~ ^(0\. 0\% | 0\% ) ]]
117116 then
118117 pkLoss=$( tput setaf 2) $pkLossRaw $( tput sgr0)
119- echo " $warning $name Packet Loss: $pkLoss ."
118+ echo " $warn $name Packet Loss: $pkLoss ."
120119 fi
121120}
122121
0 commit comments