aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2021-06-22 08:33:14 -0500
committerRob Landley <rob@landley.net>2021-06-22 08:33:14 -0500
commitb1b7fec80d205d11d6eca42a94b9f6b45eedd262 (patch)
tree85ad9b0cb1ac0a395151d203d03defcb33d55da5
parent2185571e9d72301b45df37ef623ea350271c6cb9 (diff)
downloadtoybox-b1b7fec80d205d11d6eca42a94b9f6b45eedd262.tar.gz
Denys Vlasenko pointed out that other implementations use "t" as "total",
and not many systems need to know "free terabytes".
-rw-r--r--toys/other/free.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/other/free.c b/toys/other/free.c
index d76e050d..6be1cdca 100644
--- a/toys/other/free.c
+++ b/toys/other/free.c
@@ -2,8 +2,8 @@
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
-// Flag order is signifcant: b-t are units in order, FLAG_h-1 is unit mask
-USE_FREE(NEWTOY(free, "htgmkb[!htgmkb]", TOYFLAG_USR|TOYFLAG_BIN))
+// Flag order is signifcant: b-g are units in order, FLAG_h-1 is unit mask
+USE_FREE(NEWTOY(free, "hgmkb[!hgmkb]", TOYFLAG_USR|TOYFLAG_BIN))
config FREE
bool "free"
@@ -13,7 +13,7 @@ config FREE
Display the total, free and used amount of physical memory and swap space.
- -bkmgt Output units (default is bytes)
+ -bkmg Output units (default is bytes)
-h Human readable (K=1024)
*/