svn commit: r280701 - head/usr.bin/ministat

Kristof Provost kp at FreeBSD.org
Thu Mar 26 17:13:12 UTC 2015


Author: kp
Date: Thu Mar 26 17:13:11 2015
New Revision: 280701
URL: https://svnweb.freebsd.org/changeset/base/280701

Log:
  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 at decadent.org.uk>
  Approved by:	philip (mentor)

Modified:
  head/usr.bin/ministat/ministat.1

Modified: head/usr.bin/ministat/ministat.1
==============================================================================
--- head/usr.bin/ministat/ministat.1	Thu Mar 26 16:00:35 2015	(r280700)
+++ head/usr.bin/ministat/ministat.1	Thu Mar 26 17:13:11 2015	(r280701)
@@ -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:


More information about the svn-src-head mailing list