Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/sed Fix usage. The man page is incorrect with respec...



details:   https://anonhg.NetBSD.org/src/rev/37dfa38c20b6
branches:  trunk
changeset: 330034:37dfa38c20b6
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 18 14:15:50 2014 +0000

description:
Fix usage. The man page is incorrect with respect to -I and -i and need
fixing, but my troff foo is not there.

diffstat:

 usr.bin/sed/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 825c1449edc9 -r 37dfa38c20b6 usr.bin/sed/main.c
--- a/usr.bin/sed/main.c        Wed Jun 18 14:12:20 2014 +0000
+++ b/usr.bin/sed/main.c        Wed Jun 18 14:15:50 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.26 2014/06/18 09:41:29 wiz Exp $    */
+/*     $NetBSD: main.c,v 1.27 2014/06/18 14:15:50 christos Exp $       */
 
 /*-
  * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson.
@@ -39,7 +39,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.26 2014/06/18 09:41:29 wiz Exp $");
+__RCSID("$NetBSD: main.c,v 1.27 2014/06/18 14:15:50 christos Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/main.c 252231 2013-06-26 04:14:19Z pfg $");
 #endif
@@ -220,8 +220,8 @@
 {
        (void)fprintf(stderr,
            "Usage:  %s [-aElnru] command [file ...]\n"
-           "\t%s [-aElnr] [-e command] [-f command_file] [-I [extension]]\n"
-           "\t    [-i [extension]] [file ...]\n", getprogname(), getprogname());
+           "\t%s [-aElnru] [-e command] [-f command_file] [-I[extension]]\n"
+           "\t    [-i[extension]] [file ...]\n", getprogname(), getprogname());
        exit(1);
 }
 



Home | Main Index | Thread Index | Old Index