From owner-svn-src-all@FreeBSD.ORG Sun Mar 3 00:37:35 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1874B71; Sun, 3 Mar 2013 00:37:35 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7BEE3AD2; Sun, 3 Mar 2013 00:37:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r230bZxX008183; Sun, 3 Mar 2013 00:37:35 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r230bZIv008182; Sun, 3 Mar 2013 00:37:35 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201303030037.r230bZIv008182@svn.freebsd.org> From: Glen Barber Date: Sun, 3 Mar 2013 00:37:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247677 - stable/9/usr.bin/dc X-SVN-Group: stable-9 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.14 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: Sun, 03 Mar 2013 00:37:35 -0000 Author: gjb (doc,ports committer) Date: Sun Mar 3 00:37:34 2013 New Revision: 247677 URL: http://svnweb.freebsd.org/changeset/base/247677 Log: MFC r247441: Properly handle '-h' argument. PR: 176332 Modified: stable/9/usr.bin/dc/dc.c Directory Properties: stable/9/usr.bin/dc/ (props changed) Modified: stable/9/usr.bin/dc/dc.c ============================================================================== --- stable/9/usr.bin/dc/dc.c Sat Mar 2 23:40:42 2013 (r247676) +++ stable/9/usr.bin/dc/dc.c Sun Mar 3 00:37:34 2013 (r247677) @@ -84,7 +84,7 @@ main(int argc, char *argv[]) bool extended_regs = false, preproc_done = false; /* accept and ignore a single dash to be 4.4BSD dc(1) compatible */ - while ((ch = getopt_long(argc, argv, "e:f:Vx", long_options, NULL)) != -1) { + while ((ch = getopt_long(argc, argv, "e:f:hVx", long_options, NULL)) != -1) { switch (ch) { case 'e': if (!preproc_done)