From 12ba6b1fa948003cd51a9ec7bf5937024638d37e Mon Sep 17 00:00:00 2001 From: Krysztal112233 Date: Thu, 21 Mar 2024 22:17:23 +0800 Subject: [PATCH] free: fix align of `-w` flag --- src/uu/free/src/free.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/uu/free/src/free.rs b/src/uu/free/src/free.rs index 02976fd2..5bba4761 100644 --- a/src/uu/free/src/free.rs +++ b/src/uu/free/src/free.rs @@ -97,7 +97,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { println!(" total used free shared buffers cache available"); match human { true => println!( - "Mem: {:11} {:11} {:11} {:11} {:11} {:11} {:11}", + "Mem: {:11} {:11} {:11} {:11} {:11} {:11} {:11}", to_human(mem_info.total), to_human(used), to_human(mem_info.free), @@ -107,7 +107,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { to_human(mem_info.available) ), false => println!( - "Mem: {:11} {:11} {:11} {:11} {:11} {:11} {:11}", + "Mem: {:11} {:11} {:11} {:11} {:11} {:11} {:11}", mem_info.total, used, mem_info.free, @@ -131,7 +131,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { to_human(mem_info.available) ), false => println!( - "Mem: {:11} {:11} {:11} {:11} {:11} {:11}", + "Mem: {:11} {:11} {:11} {:11} {:11} {:11}", mem_info.total, used, mem_info.free,