The patch has been merged into FreeBSD revision r280701. Regards, Kristof
On 2014-12-24 18:25:58 (+0100), Ben Hutchings <[email protected]> wrote: > 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. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

