From 66f0fdefccb38c1b02d576353fb2f2d8935a5f69 Mon Sep 17 00:00:00 2001 From: pfg Date: Sun, 6 Jul 2014 17:29:19 +0000 Subject: MFC r268193, r268203: Fix sed(1) usage: the -i extension is not an optional. --- usr.bin/sed/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c index eafdbe9..6cdfcda 100644 --- a/usr.bin/sed/main.c +++ b/usr.bin/sed/main.c @@ -204,8 +204,8 @@ static void usage(void) { (void)fprintf(stderr, - "usage: %s script [-Ealnru] [-i[]] [file ...]\n" - "\t%s [-Ealnu] [-i[]] [-e script] ... [-f script_file]" + "usage: %s script [-Ealnru] [-i extension] [file ...]\n" + "\t%s [-Ealnu] [-i extension] [-e script] ... [-f script_file]" " ... [file ...]\n", getprogname(), getprogname()); exit(1); } -- cgit v1.1