From owner-svn-src-all@FreeBSD.ORG Mon Dec 23 20:20:46 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1C4ED3E; Mon, 23 Dec 2013 20:20:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BD7111D68; Mon, 23 Dec 2013 20:20:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBNKKkw2028861; Mon, 23 Dec 2013 20:20:46 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBNKKkoC028859; Mon, 23 Dec 2013 20:20:46 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201312232020.rBNKKkoC028859@svn.freebsd.org> From: Xin LI Date: Mon, 23 Dec 2013 20:20:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r259785 - stable/10/usr.bin/bc X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 20:20:46 -0000 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); }