summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-03-16 11:19:10 +0000
committereivind <eivind@FreeBSD.org>1998-03-16 11:19:10 +0000
commitc5fc4aa131b2a0f85ea3583cd01fad30a50f825f (patch)
treefa6773c5e9802e95b871bf8521408a56034a9897 /usr.sbin
parentb56f0166c20160bf581af9bbe833802712be7e07 (diff)
downloadFreeBSD-src-c5fc4aa131b2a0f85ea3583cd01fad30a50f825f.zip
FreeBSD-src-c5fc4aa131b2a0f85ea3583cd01fad30a50f825f.tar.gz
Add message when using obsolete command line option.
Suggested by: joerg
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 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 <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;
OpenPOWER on IntegriCloud