diff options
author | marcel <marcel@FreeBSD.org> | 2014-10-08 22:06:38 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-10-08 22:06:38 +0000 |
commit | 27db89ec695f2599ec2afd7010338235b49ea485 (patch) | |
tree | 4a5c3caf18e74c5aa5a5c8b7c5d6ab76e0f5a656 /usr.bin/mkimg/mkimg.1 | |
parent | 951d95ff86579b104209f34d7a07ff6d997657f4 (diff) | |
download | FreeBSD-src-27db89ec695f2599ec2afd7010338235b49ea485.zip FreeBSD-src-27db89ec695f2599ec2afd7010338235b49ea485.tar.gz |
MFC 272198, 272217:
Add 3 long options (--version, --formats & --schemes) for getting
information about mkimg itself.
Requested by: gjb
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 |