Sort option list so that -amin works.
PR: 5171 Submitted by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
This commit is contained in:
parent
5f6c54ce0a
commit
5a5b7fdd83
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31440
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user