From 427169e0b4f7e1479f70aa40099f280bca6e2562 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 10 Feb 2022 17:21:25 +0100 Subject: 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. --- center.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'center.1') diff --git a/center.1 b/center.1 index e3704bd..5de17eb 100644 --- a/center.1 +++ b/center.1 @@ -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 -- cgit v1.2.3