From owner-svn-src-head@FreeBSD.ORG Thu Jul 3 00:31:14 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82BCFC5; Thu, 3 Jul 2014 00:31:14 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 704FD24C1; Thu, 3 Jul 2014 00:31:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s630VEtm097286; Thu, 3 Jul 2014 00:31:14 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s630VE9k097285; Thu, 3 Jul 2014 00:31:14 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201407030031.s630VE9k097285@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Thu, 3 Jul 2014 00:31:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268203 - head/usr.bin/sed X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 00:31:14 -0000 Author: pfg Date: Thu Jul 3 00:31:13 2014 New Revision: 268203 URL: http://svnweb.freebsd.org/changeset/base/268203 Log: More sed(1) usage fixing: the extension -i is not optional. Pointed out by: jmallet MFC after: 3 days Modified: head/usr.bin/sed/main.c Modified: head/usr.bin/sed/main.c ============================================================================== --- head/usr.bin/sed/main.c Thu Jul 3 00:23:14 2014 (r268202) +++ head/usr.bin/sed/main.c Thu Jul 3 00:31:13 2014 (r268203) @@ -204,7 +204,7 @@ static void usage(void) { (void)fprintf(stderr, - "usage: %s script [-Ealnru] [-i[]] [file ...]\n" + "usage: %s script [-Ealnru] [-i extension] [file ...]\n" "\t%s [-Ealnu] [-i extension] [-e script] ... [-f script_file]" " ... [file ...]\n", getprogname(), getprogname()); exit(1);