Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 00:31:14 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268203 - head/usr.bin/sed
Message-ID:  <201407030031.s630VE9k097285@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[<extension>]] [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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407030031.s630VE9k097285>