diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-08-31 22:40:23 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-08-31 22:40:23 +0000 |
commit | a77ba121ed7e4931bff86c87a5c0e54d4eea2c63 (patch) | |
tree | b18515d71c837a284f5eb0322e0aed3cc4462771 /usr.bin/find/option.c | |
parent | 4ba83990908c752d8ef27d97cbcb7b32a4a38edf (diff) |
Add support for -maxdepth option
Diffstat (limited to 'usr.bin/find/option.c')
-rw-r--r-- | usr.bin/find/option.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c index cab351e7738..f9ceb16986a 100644 --- a/usr.bin/find/option.c +++ b/usr.bin/find/option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: option.c,v 1.2 1996/06/26 05:33:13 deraadt Exp $ */ +/* $OpenBSD: option.c,v 1.3 1996/08/31 22:40:22 tholo Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)option.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: option.c,v 1.2 1996/06/26 05:33:13 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: option.c,v 1.3 1996/08/31 22:40:22 tholo Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -69,6 +69,7 @@ static OPTION options[] = { { "-inum", N_INUM, c_inum, O_ARGV }, { "-links", N_LINKS, c_links, O_ARGV }, { "-ls", N_LS, c_ls, O_ZERO }, + { "-maxdepth", N_MDEPTH, c_mdepth, O_ARGV }, { "-mtime", N_MTIME, c_mtime, O_ARGV }, { "-name", N_NAME, c_name, O_ARGV }, { "-newer", N_NEWER, c_newer, O_ARGV }, |