summaryrefslogtreecommitdiffstats
path: root/usr.bin/file2c/file2c.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2007-10-30 17:49:00 +0000
committerru <ru@FreeBSD.org>2007-10-30 17:49:00 +0000
commitcfcb49a9b0a1c5a66f214f77762c4ee061cebbc2 (patch)
tree0210b743ed50d0410db7d93956920be6b0efe1ed /usr.bin/file2c/file2c.1
parentba224897a0bc4faea25f7fcfc84fe45334147e2f (diff)
downloadFreeBSD-src-cfcb49a9b0a1c5a66f214f77762c4ee061cebbc2.zip
FreeBSD-src-cfcb49a9b0a1c5a66f214f77762c4ee061cebbc2.tar.gz
Apply style(9) to usage(), fix markup of the manpage.
Diffstat (limited to 'usr.bin/file2c/file2c.1')
-rw-r--r--usr.bin/file2c/file2c.110
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/file2c/file2c.1 b/usr.bin/file2c/file2c.1
index a4f72e2..40482c2 100644
--- a/usr.bin/file2c/file2c.1
+++ b/usr.bin/file2c/file2c.1
@@ -15,9 +15,8 @@
.Nd convert file to c-source
.Sh SYNOPSIS
.Nm
+.Op Fl sx
.Op Fl n Ar count
-.Op Fl s
-.Op Fl x
.Op Ar prefix Op Ar suffix
.Sh DESCRIPTION
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.
By default the byte values are printed in decimal, but when the
.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
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.
@@ -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 C statement.
The
-.Fl n
-,
-.Fl s
+.Fl n , s
and
.Fl x
options are useful when the binary data represents a bitmap and the output
OpenPOWER on IntegriCloud