diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-02-10 17:21:25 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-02-10 17:21:25 +0100 |
commit | 427169e0b4f7e1479f70aa40099f280bca6e2562 (patch) | |
tree | ebe9fc070d94e7293a65c8cf5339f5c94619908f | |
parent | ed106c3e0b7318bd55455e5f8df02f746b6216f5 (diff) |
Fix usage example in manual page
The example is supposed to center the input as if the output device is a
terminal with a width of 80 characters. The example doesn't use the `-w'
flag though, so we set that up.
-rw-r--r-- | center.1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.Dd $Mdocdate: February 7 2022 $ +.Dd $Mdocdate: February 10 2022 $ .Dt CENTER 1 .Os .Sh NAME @@ -58,7 +58,7 @@ writing the output to the file .Ar file2 . Align the calendar as if the output device has a width of 80 columns. .Pp -.Dl $ cal | center | cat - file1 > file2 +.Dl $ cal | center -w 80 | cat - file1 > file2 .Pp Center align the contents of .Ar file1 |