[pacman-dev] [PATCH] Show used/freed space when syncing
Dan McGee
dpmcgee at gmail.com
Wed Jan 20 08:34:37 EST 2010
On Wed, Jan 20, 2010 at 3:03 AM, Hugo Chargois <hugo.chargois at free.fr> wrote:
> On Wed, Jan 20, 2010 at 6:08 AM, Dan McGee <dpmcgee at gmail.com> wrote:
>> As a side note, "% .2f MB" will never work as a format- that is
>> "%<space>.2f MB" and will not work as expected. I didn't check if that
>> got fixed in a later patch, but just an FYI.
>
> It works. <space> is a valid flag for printf formatting that means:
> put a space before a positive number (and of course a minus before a
> positive one). That way, the number is aligned with the ones from the
> two lines above, whether it's negative or positive, and the minus, if
> any, 'sticks out'.
/me eats his words
More information about the pacman-dev
mailing list