Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sed Sync usage with manpage.



details:   https://anonhg.NetBSD.org/src/rev/d03d4420898d
branches:  trunk
changeset: 796791:d03d4420898d
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Jun 18 09:41:29 2014 +0000

description:
Sync usage with manpage.

diffstat:

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

diffs (31 lines):

diff -r f9414908119e -r d03d4420898d usr.bin/sed/main.c
--- a/usr.bin/sed/main.c        Wed Jun 18 09:35:31 2014 +0000
+++ b/usr.bin/sed/main.c        Wed Jun 18 09:41:29 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.25 2014/06/17 16:39:02 christos Exp $       */
+/*     $NetBSD: main.c,v 1.26 2014/06/18 09:41:29 wiz Exp $    */
 
 /*-
  * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson.
@@ -39,7 +39,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.25 2014/06/17 16:39:02 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.26 2014/06/18 09:41:29 wiz Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/main.c 252231 2013-06-26 04:14:19Z pfg $");
 #endif
@@ -219,9 +219,9 @@
 usage(void)
 {
        (void)fprintf(stderr,
-           "Usage: %s script [-Ealnu] [-i[<extension>]] [file ...]\n"
-           "\t%s [-Ealnu] [-i[<extension>]] [-e script] ... [-f script_file]"
-           " ... [file ...]\n", getprogname(), getprogname());
+           "Usage:  %s [-aElnru] command [file ...]\n"
+           "\t%s [-aElnr] [-e command] [-f command_file] [-I [extension]]\n"
+           "\t    [-i [extension]] [file ...]\n", getprogname(), getprogname());
        exit(1);
 }
 



Home | Main Index | Thread Index | Old Index