Clarify the ministat default width

The man page states that:
'-w width    Width of ASCII-art plot in characters, default is 74.'

This is not entirely correct. The mini-help is more accurate:
'-w : width of graph/test output (default 74 or terminal width)'

In other words: the man page fails to explain that ministat will default
to the terminal width, not 74. It will only fall back to 74 if stdout is
not a TTY.

Submitted by:	Ben Hutchings <ben@decadent.org.uk>
Approved by:	philip (mentor)
This commit is contained in:
Kristof Provost 2015-03-26 17:13:11 +00:00
parent 8c2f8a839f
commit 09a3b0db35
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280701

View file

@ -68,7 +68,9 @@ See
.Xr strtok 3
for details.
.It Fl w Ar width
Width of ASCII-art plot in characters, default is 74.
Width of ASCII-art plot in characters.
The default is the terminal width, or 74 if standard output is not a
terminal.
.El
.Pp
A sample output could look like this: