aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fmt/fmt.1
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-09-10 19:50:23 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-09-10 19:50:23 +0000
commit3f8da92bc857c1d7c3f9397facf2863914da82d0 (patch)
treef337c4f7c7c8b59f9208f0b282a129c5dbb58c03 /usr.bin/fmt/fmt.1
parentf7c176c92beb4e2164abda03add0e5345d4f16ca (diff)
downloadsrc-3f8da92bc857c1d7c3f9397facf2863914da82d0.tar.gz
src-3f8da92bc857c1d7c3f9397facf2863914da82d0.zip
Add -c flag to fmt to center lines.
Notes
Notes: svn path=/head/; revision=18227
Diffstat (limited to 'usr.bin/fmt/fmt.1')
-rw-r--r--usr.bin/fmt/fmt.16
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/fmt/fmt.1 b/usr.bin/fmt/fmt.1
index 4c76cc750b06..791939fb0e1f 100644
--- a/usr.bin/fmt/fmt.1
+++ b/usr.bin/fmt/fmt.1
@@ -39,6 +39,7 @@
.Nd simple text formatter
.Sh SYNOPSIS
.Nm fmt
+.Fl c
.Oo
.Ar goal
.Op Ar maximum
@@ -58,6 +59,11 @@ to 65 and the maximum to 75. The spacing at the beginning of the
input lines is preserved in the output, as are blank lines and
interword spacing.
.Pp
+.Fl c
+instructs
+.Nm fmt
+to center the text.
+.Pp
.Nm Fmt
is meant to format mail messages prior to sending, but may also be useful
for other simple tasks.