From 6b4b1907c96b9070fd81c29c771f3da0510ff22c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 23 Dec 2024 16:17:28 -0500 Subject: allow decimal (floating point) for numeric args --- uxd.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'uxd.rst') diff --git a/uxd.rst b/uxd.rst index 7190c20..d5dbf7d 100644 --- a/uxd.rst +++ b/uxd.rst @@ -51,10 +51,12 @@ Options can be bundled: **-ubc1234** is the same as **-u** **-b** **-c by itself. The options that accept numbers (**-l**, **-o**, **-s**, and **-S**) -allow decimal, hex (with *0x* prefix), or octal (with *0* prefix). -Also, you can use the suffixes *k*, *m*, *g*, and *t* for power-of-2 based +allow decimal, or hex (with *0x* prefix). +You can use the suffixes *k*, *m*, *g*, and *t* for power-of-2 based kilobytes, megabytes, gigabytes, or terabytes (e.g. *1k* is 1024 bytes), as well as *K*, *M*, *G*, and *T* for power-of-10 based (e.g. *1K* is 1000 bytes). +Also, a decimal point can be used: **1.5K** is 1500 bytes, **1.5k** is +1536 bytes. .. the comments are turned into the --help message by mkusage.pl. -- cgit v1.2.3