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