svn commit: r259785 - stable/10/usr.bin/bc

Xin LI delphij at FreeBSD.org
Mon Dec 23 20:20:46 UTC 2013


Author: delphij
Date: Mon Dec 23 20:20:46 2013
New Revision: 259785
URL: http://svnweb.freebsd.org/changeset/base/259785

Log:
  MFC r259058,r259060:
  
  Remove -q from usage.
  
  Document -q and --quiet as discouraged compatibility option.

Modified:
  stable/10/usr.bin/bc/bc.1
  stable/10/usr.bin/bc/bc.y
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/bc/bc.1
==============================================================================
--- stable/10/usr.bin/bc/bc.1	Mon Dec 23 20:16:54 2013	(r259784)
+++ stable/10/usr.bin/bc/bc.1	Mon Dec 23 20:20:46 2013	(r259785)
@@ -35,7 +35,7 @@
 .\"
 .\"	@(#)bc.1	6.8 (Berkeley) 8/8/91
 .\"
-.Dd January 22, 2010
+.Dd December 6, 2013
 .Dt BC 1
 .Os
 .Sh NAME
@@ -43,7 +43,7 @@
 .Nd arbitrary-precision arithmetic language and calculator
 .Sh SYNOPSIS
 .Nm bc
-.Op Fl chlqv
+.Op Fl chlv
 .Op Fl e Ar expression
 .Op Ar file ...
 .Sh DESCRIPTION
@@ -349,6 +349,14 @@ math library, read when the
 .Fl l
 option is specified on the command line.
 .El
+.Sh COMPATIBILITY
+The
+.Fl q
+and
+.Fl Fl quiet
+options are no-ops for compatibility with some other implementations of
+.Nm
+and their use is discouraged.
 .Sh SEE ALSO
 .Xr dc 1
 .Pp

Modified: stable/10/usr.bin/bc/bc.y
==============================================================================
--- stable/10/usr.bin/bc/bc.y	Mon Dec 23 20:16:54 2013	(r259784)
+++ stable/10/usr.bin/bc/bc.y	Mon Dec 23 20:20:46 2013	(r259785)
@@ -1023,7 +1023,7 @@ static void
 usage(void)
 {
 
-	fprintf(stderr, "usage: %s [-chlqv] [-e expression] [file ...]\n",
+	fprintf(stderr, "usage: %s [-chlv] [-e expression] [file ...]\n",
 	    __progname);
 	exit(1);
 }


More information about the svn-src-stable-10 mailing list