From d30c3b8f1a63573f395a89ee67ca0f67d5568b09 Mon Sep 17 00:00:00 2001 From: yushuoqi Date: Thu, 30 Apr 2026 16:53:40 +0800 Subject: [PATCH] hugetop: print human readable sizes by default Consistent with the hugetop command of `procps-ng`, change the default size to a format suitable for human reading --- src/uu/hugetop/src/hugetop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/hugetop/src/hugetop.rs b/src/uu/hugetop/src/hugetop.rs index ee17ed53..12403df2 100644 --- a/src/uu/hugetop/src/hugetop.rs +++ b/src/uu/hugetop/src/hugetop.rs @@ -56,7 +56,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { let limit = matches.get_one::("lines").copied(); let numa = matches.get_flag("numa"); - let human = matches.get_flag("human"); + let human = matches.get_flag("human") || true; let once = matches.get_flag("once"); let delay = *matches.get_one::("delay").unwrap_or(&0);