Compare to yesterday in main stats

This commit is contained in:
Michael De Roover 2020-07-01 22:31:21 +02:00
parent 5f08102ed7
commit 340065b607
Signed by: vim
GPG Key ID: 075496E232CE04CB

2
cv
View File

@ -48,7 +48,7 @@ out(){
w=10
if [ -z $3 ]
then
printf "%-${w}s %d\n" "$1:" "$(get $2)"
printf "%-${w}s %d \t+ %d\n" "$1:" "$(get $2)" "$(expr $(get $2) - $(yget $2))"
else
printf "%-${w}s %d\n" "$1:" "$(yget $2)"
fi