diff options
author | marcel <marcel@FreeBSD.org> | 2014-09-27 17:58:03 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-09-27 17:58:03 +0000 |
commit | 2bf89afb2b390cf0e131c1d6b2f377b480f4bf21 (patch) | |
tree | 7d7bf8f48f5c82e2bed56ada4a60d91b9e129a1a /usr.bin/mkimg/mkimg.1 | |
parent | b3d712b9b9c9f56779f38d24b84008c9438d3ad5 (diff) | |
download | FreeBSD-src-2bf89afb2b390cf0e131c1d6b2f377b480f4bf21.zip FreeBSD-src-2bf89afb2b390cf0e131c1d6b2f377b480f4bf21.tar.gz |
Update the usage message and the man page to account for the new long
options. Bump the version number to 20140927.
While here, use explicit fputc() calls to skip a line in the output.
This to avoid having to hunt for extra '\n' characters in the printf
format strings.
MFC after: 1 week
Relnotes: yes
Diffstat (limited to 'usr.bin/mkimg/mkimg.1')
-rw-r--r-- | usr.bin/mkimg/mkimg.1 | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/usr.bin/mkimg/mkimg.1 b/usr.bin/mkimg/mkimg.1 index db492ed..bfe05c0 100644 --- a/usr.bin/mkimg/mkimg.1 +++ b/usr.bin/mkimg/mkimg.1 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 12, 2014 +.Dd September 27, 2014 .Dt MKIMG 1 .Os .Sh NAME @@ -44,6 +44,8 @@ .Fl s Ar scheme .Fl p Ar partition .Op Fl p Ar partition ... +.Nm +.Ar --formats | --schemes | --version .Sh DESCRIPTION The .Nm @@ -122,10 +124,32 @@ utility will generate predictable values for Universally Unique Identifiers .Nm utility will create images that are identical. .Pp -For a complete list of supported partitioning schemes or supported output -format, or for a detailed description of how to specify partitions, run the +A set of long options exist to query about the +.Nm +utilty itself. +Options in this set should be given by themselves because the +.Nm +utility exits immediately after providing the requested information. +The version of the +.Nm +utility is printed when the +.Ar --version +option is given. +The list of supported output formats is printed when the +.Ar --formats +option is given and the list of supported partitioning schemes is printed +when the +.Ar --schemes +option is given. +Both the format and scheme lists a space-separated lists for easy handling +in scripts. +.Pp +For a more descriptive list of supported partitioning schemes or supported +output format, or for a detailed description of how to specify partitions, +run the .Nm utility without any arguments. +This will print a usage message with all the necessary details. .Sh ENVIRONMENT .Bl -tag -width "TMPDIR" -compact .It Ev TMPDIR |