summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-11-28 15:48:08 +0000
committersteve <steve@FreeBSD.org>1997-11-28 15:48:08 +0000
commit1fbed7c94f7ef04df27dd580d1363e00e069f381 (patch)
tree1680396085fd18ea6f9acceecc99393feec35d68 /usr.bin/find
parent769d92643fd83e4e0683b78b5c005e132108f14d (diff)
downloadFreeBSD-src-1fbed7c94f7ef04df27dd580d1363e00e069f381.zip
FreeBSD-src-1fbed7c94f7ef04df27dd580d1363e00e069f381.tar.gz
Sort option list so that -amin works.
PR: 5171 Submitted by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/option.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c
index 53ac0fb..ef5916f 100644
--- a/usr.bin/find/option.c
+++ b/usr.bin/find/option.c
@@ -35,7 +35,11 @@
*/
#ifndef lint
+/*
static char sccsid[] = "@(#)option.c 8.2 (Berkeley) 4/16/94";
+*/
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <sys/types.h>
@@ -57,8 +61,8 @@ static OPTION const options[] = {
{ "(", N_OPENPAREN, c_openparen, O_ZERO },
{ ")", N_CLOSEPAREN, c_closeparen, O_ZERO },
{ "-a", N_AND, NULL, O_NONE },
- { "-and", N_AND, NULL, O_NONE },
{ "-amin", N_AMIN, c_amin, O_ARGV },
+ { "-and", N_AND, NULL, O_NONE },
{ "-atime", N_ATIME, c_atime, O_ARGV },
{ "-cmin", N_CMIN, c_cmin, O_ARGV },
{ "-ctime", N_CTIME, c_ctime, O_ARGV },
OpenPOWER on IntegriCloud