diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-19 00:45:33 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-19 00:45:33 +0000 |
commit | d2daf125eea75b99778c7fe3c61b3f121f07b493 (patch) | |
tree | 18eda55f40aa5531b78aeda6cb319b5f99c7341a | |
parent | 9abc0e86f89fb977e2757ebb5aa02559299c1d42 (diff) | |
download | FreeBSD-src-d2daf125eea75b99778c7fe3c61b3f121f07b493.zip FreeBSD-src-d2daf125eea75b99778c7fe3c61b3f121f07b493.tar.gz |
Re-introduce '-n' - now a no-op for backwards compatibility only.
Requested by: David Quattlebaum <sasdrq@unx.sas.com>
-rw-r--r-- | usr.sbin/config/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index 77798fc..0159078 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.19 1997/11/18 03:41:51 jdp Exp $"; + "$Id: main.c,v 1.20 1998/02/18 04:15:04 eivind Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -86,7 +86,7 @@ main(argc, argv) int ch; char *p; - while ((ch = getopt(argc, argv, "gpr")) != -1) + while ((ch = getopt(argc, argv, "gprn")) != -1) switch (ch) { case 'g': debugging++; @@ -94,6 +94,9 @@ main(argc, argv) case 'p': profiling++; break; + case 'n': + /* no_config_clobber is now true by default, no-op */ + break; case 'r': no_config_clobber = FALSE; break; |