aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-10-08 00:08:23 +0200
committerThomas Voss <mail@thomasvoss.com> 2022-10-08 00:10:53 +0200
commit525fa4a50bc8721397454816ea28c4680d501f06 (patch)
treecc81c0dd98e023e8702fc9842c19c5fc7a54c522
parent26c6ade60cd1ff3d9ff76c23b9b7dd4594906eee (diff)
De-verbosify usage
-rw-r--r--center.18
-rw-r--r--center.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/center.1 b/center.1
index 86919a5..e369988 100644
--- a/center.1
+++ b/center.1
@@ -12,7 +12,7 @@
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: February 10 2022 $
+.Dd $Mdocdate: October 7 2022 $
.Dt CENTER 1
.Os
.Sh NAME
@@ -21,7 +21,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl el
-.Op Fl t Ar "tab width"
+.Op Fl t Ar width
.Op Fl w Ar width
.Op Ar
.Sh DESCRIPTION
@@ -59,9 +59,9 @@ visually centered.
Center the file as a whole instead of centering each line individually.
In otherwords each line is centered as if it has the length of the longest line.
This is useful for tasks like centering source code.
-.It Fl t Ar "tab width"
+.It Fl t Ar width
Treat tab characters as if they have a width of
-.Ar "tab width" .
+.Ar width .
If this option is not specified, tabs are assumed to have a tab width of 8
columns.
.It Fl w Ar width
diff --git a/center.c b/center.c
index 309e17a..610c668 100644
--- a/center.c
+++ b/center.c
@@ -91,7 +91,7 @@ main(int argc, char **argv)
default:
fprintf(
stderr,
- "Usage: %s [-el] [-t tab width] [-w width] [file ...]\n",
+ "Usage: %s [-el] [-t width] [-w width] [file ...]\n",
argv[0]
);
exit(EXIT_FAILURE);