Update --size documentation

closes #584
This commit is contained in:
sharkdp 2020-05-19 17:06:32 +02:00
parent c0592e276e
commit e3c77ef7f5
2 changed files with 11 additions and 11 deletions

4
doc/fd.1 vendored
View File

@ -185,7 +185,7 @@ Allowed unit values:
.IP 'b'
bytes
.IP 'k'
kilobytes
kilobytes (base ten, 10^3 = 1000 bytes)
.IP 'm'
megabytes
.IP 'g'
@ -193,7 +193,7 @@ gigabytes
.IP 't'
terabytes
.IP 'ki'
kibibytes
kibibytes (base two, 2^10 = 1024 bytes)
.IP 'mi'
mebibytes
.IP 'gi'

View File

@ -386,15 +386,15 @@ pub fn build_app() -> App<'static, 'static> {
'-': file size must be less than or equal to this\n \
'NUM': The numeric size (e.g. 500)\n \
'UNIT': The units for NUM. They are not case-sensitive.\n\
Allowed unit values:\n \
'b': bytes\n \
'k': kilobytes\n \
'm': megabytes\n \
'g': gigabytes\n \
't': terabytes\n \
'ki': kibibytes\n \
'mi': mebibytes\n \
'gi': gibibytes\n \
Allowed unit values:\n \
'b': bytes\n \
'k': kilobytes (base ten, 10^3 = 1000 bytes)\n \
'm': megabytes\n \
'g': gigabytes\n \
't': terabytes\n \
'ki': kibibytes (base two, 2^10 = 1024 bytes)\n \
'mi': mebibytes\n \
'gi': gibibytes\n \
'ti': tebibytes",
),
)