aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-03-16 11:19:10 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-03-16 11:19:10 +0000
commited69bf333d56e56c6c6916363c63e17a539ee17c (patch)
tree3c6ddcd4c29ecc69fba482f5943ad6811ce7749e /usr.sbin
parentc92868ac7bc79bd13be510815e0b2eb8343a2049 (diff)
downloadsrc-ed69bf333d56e56c6c6916363c63e17a539ee17c.tar.gz
src-ed69bf333d56e56c6c6916363c63e17a539ee17c.zip
Add message when using obsolete command line option.
Suggested by: joerg
Notes
Notes: svn path=/head/; revision=34620
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index 01590787e452..a87e85f52e9b 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 <sys/types.h>
@@ -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;