diff options
author | kp <kp@FreeBSD.org> | 2015-03-26 17:13:11 +0000 |
---|---|---|
committer | kp <kp@FreeBSD.org> | 2015-03-26 17:13:11 +0000 |
commit | ca119dca50d0b216ae05377b79c59c1084ad9854 (patch) | |
tree | 1343fb7d76975fb70a51ce7b98a082c0af24f476 /usr.bin/ministat | |
parent | d37730a0c44e508531c8685077265253867263f9 (diff) | |
download | FreeBSD-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.1 | 4 |
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: |