Module Name: src Committed By: christos Date: Wed Jun 18 14:15:50 UTC 2014
Modified Files: src/usr.bin/sed: main.c Log Message: Fix usage. The man page is incorrect with respect to -I and -i and need fixing, but my troff foo is not there. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/sed/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/sed/main.c diff -u src/usr.bin/sed/main.c:1.26 src/usr.bin/sed/main.c:1.27 --- src/usr.bin/sed/main.c:1.26 Wed Jun 18 05:41:29 2014 +++ src/usr.bin/sed/main.c Wed Jun 18 10:15:50 2014 @@ -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 @@ usage(void) { (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); }