diff options
Diffstat (limited to 'usr.bin/find/main.c')
| -rw-r--r-- | usr.bin/find/main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c index 21770fbcf4779..49ad226c57eda 100644 --- a/usr.bin/find/main.c +++ b/usr.bin/find/main.c @@ -65,7 +65,6 @@ int ftsoptions; /* options for the ftsopen(3) call */ int isdeprecated; /* using deprecated syntax */ int isdepth; /* do directories on post-order visit */ int isoutput; /* user specified output operator */ -int issort; /* do hierarchies in lexicographical order */ int isxargs; /* don't permit xargs delimiting chars */ static void usage __P((void)); @@ -85,7 +84,7 @@ main(argc, argv) p = start = argv; Hflag = Lflag = 0; ftsoptions = FTS_NOSTAT | FTS_PHYSICAL; - while ((ch = getopt(argc, argv, "HLPXdf:sx")) != -1) + while ((ch = getopt(argc, argv, "HLPXdf:x")) != -1) switch (ch) { case 'H': Hflag = 1; @@ -107,9 +106,6 @@ main(argc, argv) case 'f': *p++ = optarg; break; - case 's': - issort = 1; - break; case 'x': ftsoptions |= FTS_XDEV; break; @@ -155,6 +151,6 @@ static void usage() { (void)fprintf(stderr, -"usage: find [-H | -L | -P] [-Xdsx] [-f file] [file ...] [expression]\n"); +"usage: find [-H | -L | -P] [-Xdx] [-f file] [file ...] [expression]\n"); exit(1); } |
