Usage: Options before arguments; add -E. From Kouichirou Hiratsuka in PR 26255.
This commit is contained in:
parent
5df46dc9cc
commit
b8c5588d79
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.15 2003/10/16 12:11:12 grant Exp $ */
|
||||
/* $NetBSD: main.c,v 1.16 2004/07/13 12:11:06 wiz Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -77,7 +77,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/3/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: main.c,v 1.15 2003/10/16 12:11:12 grant Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.16 2004/07/13 12:11:06 wiz Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -168,7 +168,7 @@ main(int argc, char *argv[])
|
|||
default:
|
||||
case '?':
|
||||
(void)fprintf(stderr,
|
||||
"usage:\t%s script [-anE] [file ...]\n\t%s [-an] [-e script] ... [-f script_file] ... [file ...]\n",
|
||||
"usage:\t%s [-aEn] script [file ...]\n\t%s [-aEn] [-e script] ... [-f script_file] ... [file ...]\n",
|
||||
getprogname(), getprogname());
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue