diff options
author | Kristof Provost <kp@FreeBSD.org> | 2015-03-26 17:13:11 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2015-03-26 17:13:11 +0000 |
commit | 09a3b0db358d5d5ee653da62999dff27f4a0f52a (patch) | |
tree | 1343fb7d76975fb70a51ce7b98a082c0af24f476 /usr.bin | |
parent | 8c2f8a839f37c6ee4fe30c4cc45f050a96091204 (diff) | |
download | src-09a3b0db358d5d5ee653da62999dff27f4a0f52a.tar.gz src-09a3b0db358d5d5ee653da62999dff27f4a0f52a.zip |
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)
Notes
Notes:
svn path=/head/; revision=280701
Diffstat (limited to 'usr.bin')
-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 ea31c2329dc2..f713baef8fca 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: |