Fix manacurve ouptut
This commit is contained in:
parent
25e00d6fd3
commit
6604a029fb
@ -196,7 +196,7 @@ func showManaCurveStats(coll *Collection) {
|
||||
})
|
||||
fmt.Printf("\n%sMana Curve%s\n", Green, Reset)
|
||||
for _, mc := range cmc {
|
||||
fmt.Printf("%.0f: %s%d%s\n", mc["_id"], Purple, mc["count"], Reset)
|
||||
fmt.Printf("%.1f: %s%d%s\n", mc["_id"], Purple, mc["count"], Reset)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@ var updateCmd = &cobra.Command{
|
||||
tmpCard := Card{}
|
||||
tmpCard.Prices = t
|
||||
|
||||
l.Info("\n%sUpdating total value of collection to: %s%.02f%s%s\n", Green, Yellow, tmpCard.getValue(false)+tmpCard.getValue(true), getCurrency(), Reset)
|
||||
l.Infof("\nUpdating total value of collection to: %s%.02f%s%s\n", Yellow, tmpCard.getValue(false)+tmpCard.getValue(true), getCurrency(), Reset)
|
||||
totalcoll.storageAddTotal(t)
|
||||
|
||||
return nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user