From 6b85f8cf12f7d83bc7a6a599b48abe779dc263f0 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 5 Nov 2016 21:32:08 +0100 Subject: CLI: IEC prefix (binary) for units Updated according to https://wiki.ubuntu.com/UnitsPolicy (I got confused due `ls`, which is still using 1024 but is listed as an exception) And use the formatting function already included in FreshRSS --- cli/user-info.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'cli/user-info.php') diff --git a/cli/user-info.php b/cli/user-info.php index 5b26ecb15..dd38e6c7f 100644 --- a/cli/user-info.php +++ b/cli/user-info.php @@ -2,14 +2,6 @@ size()), "\t", + format_bytes($entryDAO->size()), "\t", "\n"; } else { echo -- cgit v1.2.3