Apply style(9) to usage(), fix markup of the manpage.
This commit is contained in:
parent
e6039c36f0
commit
65717f952e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173197
@ -15,9 +15,8 @@
|
|||||||
.Nd convert file to c-source
|
.Nd convert file to c-source
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
|
.Op Fl sx
|
||||||
.Op Fl n Ar count
|
.Op Fl n Ar count
|
||||||
.Op Fl s
|
|
||||||
.Op Fl x
|
|
||||||
.Op Ar prefix Op Ar suffix
|
.Op Ar prefix Op Ar suffix
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
@ -28,7 +27,8 @@ The byte values are separated by a comma.
|
|||||||
This also means that the last byte value is not followed by a comma.
|
This also means that the last byte value is not followed by a comma.
|
||||||
By default the byte values are printed in decimal, but when the
|
By default the byte values are printed in decimal, but when the
|
||||||
.Fl x
|
.Fl x
|
||||||
option is given, the values will be printed in hexadecimal. When
|
option is given, the values will be printed in hexadecimal.
|
||||||
|
When
|
||||||
.Fl s
|
.Fl s
|
||||||
option is given, each line is printed with a leading tab and each comma is
|
option is given, each line is printed with a leading tab and each comma is
|
||||||
followed by a space except for the last one on the line.
|
followed by a space except for the last one on the line.
|
||||||
@ -54,9 +54,7 @@ This program is typically used to embed binary files into C source files.
|
|||||||
The prefix is used to define an array type and the suffix is used to end
|
The prefix is used to define an array type and the suffix is used to end
|
||||||
the C statement.
|
the C statement.
|
||||||
The
|
The
|
||||||
.Fl n
|
.Fl n , s
|
||||||
,
|
|
||||||
.Fl s
|
|
||||||
and
|
and
|
||||||
.Fl x
|
.Fl x
|
||||||
options are useful when the binary data represents a bitmap and the output
|
options are useful when the binary data represents a bitmap and the output
|
||||||
|
@ -19,7 +19,7 @@ static void
|
|||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
fprintf(stderr, "usage: %s [-n count] [-s] [-x] [prefix [suffix]]\n",
|
fprintf(stderr, "usage: %s [-sx] [-n count] [prefix [suffix]]\n",
|
||||||
getprogname());
|
getprogname());
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user