summaryrefslogtreecommitdiffstats
path: root/usr.bin/ministat
diff options
context:
space:
mode:
authorkp <kp@FreeBSD.org>2015-03-26 17:13:11 +0000
committerkp <kp@FreeBSD.org>2015-03-26 17:13:11 +0000
commitca119dca50d0b216ae05377b79c59c1084ad9854 (patch)
tree1343fb7d76975fb70a51ce7b98a082c0af24f476 /usr.bin/ministat
parentd37730a0c44e508531c8685077265253867263f9 (diff)
downloadFreeBSD-src-ca119dca50d0b216ae05377b79c59c1084ad9854.zip
FreeBSD-src-ca119dca50d0b216ae05377b79c59c1084ad9854.tar.gz
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)
Diffstat (limited to 'usr.bin/ministat')
-rw-r--r--usr.bin/ministat/ministat.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ministat/ministat.1 b/usr.bin/ministat/ministat.1
index ea31c23..f713bae 100644
--- a/usr.bin/ministat/ministat.1
+++ b/usr.bin/ministat/ministat.1
@@ -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:
OpenPOWER on IntegriCloud