From c5fc4aa131b2a0f85ea3583cd01fad30a50f825f Mon Sep 17 00:00:00 2001 From: eivind Date: Mon, 16 Mar 1998 11:19:10 +0000 Subject: Add message when using obsolete command line option. Suggested by: joerg --- usr.sbin/config/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/config') diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index 0159078..a87e85f 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: main.c,v 1.20 1998/02/18 04:15:04 eivind Exp $"; + "$Id: main.c,v 1.21 1998/02/19 00:45:33 eivind Exp $"; #endif /* not lint */ #include @@ -96,6 +96,8 @@ main(argc, argv) break; case 'n': /* no_config_clobber is now true by default, no-op */ + fprintf(stderr, + "*** Using obsolete config option '-n' ***\n"); break; case 'r': no_config_clobber = FALSE; -- cgit v1.1