Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Document the new %x (pkg tarball size) format code, and add the neglected documentation for the %z (short checksum) code.
Matthew Seaman committed 11 years ago
commit 982fb319d41f79e271d69d81ed4060f8a15c609f
parent f3ae28c
1 file changed +13 -7
modified docs/pkg_printf.3
@@ -1,6 +1,6 @@
.\" Copyright (c) 1990, 1991, 1993
.\"     The Regents of the University of California.  All rights reserved.
-
.\" Copyright (c) 2013 Matthew Seaman <matthew@FreeBSD.org>
+
.\" Copyright (c) 2013-2015 Matthew Seaman <matthew@FreeBSD.org>
.\"
.\" This code is derived from software contributed to Berkeley by
.\" Chris Torek and the American National Standards Committee X3,
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-
.Dd November 18, 2014
+
.Dd January 18, 2015
.Dt PKG_PRINTF 3
.Os
.Sh NAME
@@ -199,9 +199,9 @@ The value should be converted to the
.Dq first alternate form .
.Pp
For integer valued conversions
-
.Cm ( I , s
+
.Cm ( I , s , t
and
-
.Cm t )
+
.Cm x )
this is a
.Vt humanized
form as a floating point value scaled to the range 0 \- 1000
@@ -259,7 +259,7 @@ The value should be converted to the
.Dq second alternate form .
.Pp
For the integer valued conversions
-
.Cm ( I , s , t  )
+
.Cm ( I , s , t , x )
this is a
.Dq humanized
form as a floating point value scaled to the range 0 \- 1024
@@ -323,9 +323,9 @@ if both are given.
.It So "\ " Sc (space)
A blank should be left before a positive number
produced by a signed conversion
-
.Cm ( I , s ,
+
.Cm ( I , s , t ,
or
-
.Cm t ) .
+
.Cm x ) .
.It Cm +
A sign must always be placed before an integer or humanized
number produced by a numerical conversion.
@@ -725,6 +725,12 @@ Package version [string]
.It Cm %w
Home page URL [string]
.Vt struct pkg *
+
.It Cm %x
+
Package tarball size [integer]
+
.Vt struct pkg *
+
.It Cm %z
+
Package short checksum [string]
+
.Vt struct pkg *
.It Cm %%
A
.Ql %