Skip to content

Commit 0acb632

Browse files
committed
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
1 parent 37b2ff5 commit 0acb632

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/uu/hugetop/src/hugetop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
5757

5858
let limit = matches.get_one::<usize>("lines").copied();
5959
let numa = matches.get_flag("numa");
60-
let human = matches.get_flag("human");
60+
let human = matches.get_flag("human") || true;
6161
let once = matches.get_flag("once");
6262
let delay = *matches.get_one::<u64>("delay").unwrap_or(&0);
6363

0 commit comments

Comments
 (0)