andrewgregory / pacutils

Helper library for libalpm based programs.
MIT License
107 stars 17 forks source link

Size mismatch should state expected size in bytes #34

Open RalphCorderoy opened 5 years ago

RalphCorderoy commented 5 years ago

On a size mismatch, I'd like to know the size expected in bytes so I can compare against the actual size. The first example output is too vague, the second redundantly precise. I suggest 1,234,567 B output format.

size mismatch (expected 1.37 M)
size mismatch (expected 994.00 B)