docs: use correct units in free.1

The free manpage used the correct unit names (e.g. membibyte) but the
incorrect unit (e.g. M ) for the human-readable option.

References:
 https://bugs.debian.org/898774

Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
Craig Small 2018-05-31 20:34:13 +10:00
parent fe23360520
commit c51b329a32
2 changed files with 10 additions and 6 deletions

4
NEWS
View File

@ -1,3 +1,7 @@
procps-ng-NEXT
----------------
* docs: Use correct symbols for -h option in free.1 Debian #898774
procps-ng-3.3.15 procps-ng-3.3.15
---------------- ----------------
* library: Increment to 8:0:1 * library: Increment to 8:0:1

12
free.1
View File

@ -2,7 +2,7 @@
.\" This page Copyright (C) 1993 Matt Welsh, mdw@sunsite.unc.edu. .\" This page Copyright (C) 1993 Matt Welsh, mdw@sunsite.unc.edu.
.\" Long options where added at April 15th, 2011. .\" Long options where added at April 15th, 2011.
.\" Freely distributable under the terms of the GPL .\" Freely distributable under the terms of the GPL
.TH FREE 1 "2016-06-03" "procps-ng" "User Commands" .TH FREE 1 "2018-05-31" "procps-ng" "User Commands"
.SH NAME .SH NAME
free \- Display amount of free and used memory in the system free \- Display amount of free and used memory in the system
.SH SYNOPSIS .SH SYNOPSIS
@ -85,11 +85,11 @@ display the units of print out. Following units are used.
.sp .sp
.nf .nf
B = bytes B = bytes
K = kibibyte Ki = kibibyte
M = mebibyte Mi = mebibyte
G = gibibyte Gi = gibibyte
T = tebibyte Ti = tebibyte
P = pebibyte Pi = pebibyte
.fi .fi
.sp .sp
If unit is missing, and you have exbibyte of RAM or swap, the number is in If unit is missing, and you have exbibyte of RAM or swap, the number is in