Skip to content

Commit a7f3297

Browse files
committed
minor #4136 [Reference] fix from suffix to prefix (xabbuh)
This PR was merged into the master branch. Discussion ---------- [Reference] fix from suffix to prefix | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6+ | Fixed tickets | As @Tobion said in #3895 and like the Wikipedia article describes, the handling of *prefixes* (not suffixes) was introduced. Commits ------- d185f40 fix from suffix to prefix
2 parents be22e06 + d185f40 commit a7f3297

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

reference/constraints/File.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ to be valid. The size of the file can be given in one of the following formats:
177177
| Mi | mebibyte | 1,048,576 bytes | 8Mi |
178178
+--------+-----------+-----------------+------+
179179

180-
For more information about the difference between binary and SI suffixes,
180+
For more information about the difference between binary and SI prefixes,
181181
see `Wikipedia: Binary prefix`_.
182182

183183
binaryFormat
@@ -188,12 +188,12 @@ binaryFormat
188188

189189
**type**: ``boolean`` **default**: ``null``
190190

191-
When ``true``, the sizes will be displayed in messages with binary suffixes
192-
(KiB, MiB). When ``false``, the sizes will be displayed with SI suffixes (kB,
193-
MB). When ``null``, then the binaryFormat will be guessed from the suffix
194-
defined in the ``maxSize`` option.
191+
When ``true``, the sizes will be displayed in messages with binary-prefixed
192+
units (KiB, MiB). When ``false``, the sizes will be displayed with SI-prefixed
193+
units (kB, MB). When ``null``, then the binaryFormat will be guessed from
194+
the value defined in the ``maxSize`` option.
195195

196-
For more information about the difference between binary and SI suffixes,
196+
For more information about the difference between binary and SI prefixes,
197197
see `Wikipedia: Binary prefix`_.
198198

199199
mimeTypes

0 commit comments

Comments
 (0)