aboutsummaryrefslogtreecommitdiff
path: root/uxd.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-12-23 16:17:28 -0500
committerB. Watson <urchlay@slackware.uk>2024-12-23 16:17:28 -0500
commit6b4b1907c96b9070fd81c29c771f3da0510ff22c (patch)
tree944c0799312a76b052d5efb82000c8f36cde1f90 /uxd.rst
parente739d2ccb7a7b488b7dcc15313b0ffaedd8c0a77 (diff)
downloaduxd-6b4b1907c96b9070fd81c29c771f3da0510ff22c.tar.gz
allow decimal (floating point) for numeric args
Diffstat (limited to 'uxd.rst')
-rw-r--r--uxd.rst6
1 files changed, 4 insertions, 2 deletions
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.