Skip to content

Commit

Permalink
remove comma in output
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Nov 15, 2024
1 parent 5b8597d commit 6a11ef7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/cnode-helper-scripts/cntools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4249,7 +4249,7 @@ function main {
fi
printf "${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_yes_pct_len-${#drep_yes_pct}+1))s${NC}" "${drep_yes_pct}" "%"
if [[ -n ${drep_vt} ]]; then
printf ", ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#drep_vt}+1))s${NC}" "${drep_vt}" "%"
printf " ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#drep_vt}+1))s${NC}" "${drep_vt}" "%"
fi
# move to end and close line
tput rc && tput cuf ${total_len} && printf " |\n"
Expand Down Expand Up @@ -4278,7 +4278,7 @@ function main {
fi
printf "${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_yes_pct_len-${#spo_yes_pct}+1))s${NC}" "${spo_yes_pct}" "%"
if [[ -n ${spo_vt} ]]; then
printf ", ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#spo_vt}+1))s${NC}" "${spo_vt}" "%"
printf " ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#spo_vt}+1))s${NC}" "${spo_vt}" "%"
fi
# move to end and close line
tput rc && tput cuf ${total_len} && printf " |\n"
Expand Down Expand Up @@ -4307,7 +4307,7 @@ function main {
fi
printf "${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_yes_pct_len-${#cc_yes_pct}+1))s${NC}" "${cc_yes_pct}" "%"
if [[ -n ${cc_vt} ]]; then
printf ", ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#cc_vt}+1))s${NC}" "${cc_vt}" "%"
printf " ${FG_LGRAY}VT:${NC} ${FG_LBLUE}%s${NC} ${FG_LGRAY}%-$((max_vt_len-${#cc_vt}+1))s${NC}" "${cc_vt}" "%"
fi
# move to end and close line
tput rc && tput cuf ${total_len} && printf " |\n"
Expand Down

0 comments on commit 6a11ef7

Please sign in to comment.