Kristof Provost reported (see below) that ministat(1) doesn't correctly
document the default width.  I suggest the following patch to correct
this.

--- a/ministat.1
+++ b/ministat.1
@@ -65,7 +65,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:
--- END ---

Ben.

On Thu, 2014-12-18 at 16:57 +0100, Kristof Provost wrote:
> Package: ministat
> Version: 20100628-1
> Severity: minor
> 
> 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 'COLUMNS'
> is not set and ioctl(TIOCGWINSZ) fails.


-- 
Ben Hutchings
If more than one person is responsible for a bug, no one is at fault.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to