Hi all, This patch removes a few remnants of the unsupported diff -l option from diff.c and the diff manual page.
The diff.c usage() print is already correct, so no changes are needed there. Thanks, Nate diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1 index 85a168d7740..e718e37ed61 100644 --- a/usr.bin/diff/diff.1 +++ b/usr.bin/diff/diff.1 @@ -46,24 +46,24 @@ .Op Fl L Ar label .Ar file1 file2 .Nm diff -.Op Fl abdilpTtw +.Op Fl abdipTtw .Op Fl I Ar pattern .Op Fl L Ar label .Fl C Ar number .Ar file1 file2 .Nm diff -.Op Fl abdiltw +.Op Fl abditw .Op Fl I Ar pattern .Fl D Ar string .Ar file1 file2 .Nm diff -.Op Fl abdilpTtw +.Op Fl abdipTtw .Op Fl I Ar pattern .Op Fl L Ar label .Fl U Ar number .Ar file1 file2 .Nm diff -.Op Fl abdilNPprsTtw +.Op Fl abdiNPprsTtw .Oo .Fl c | e | f | .Fl n | q | u @@ -466,7 +466,7 @@ utility is compliant with the specification. .Pp The flags -.Op Fl aDdIiLlNnPpqSsTtwXx +.Op Fl aDdIiLNnPpqSsTtwXx are extensions to that specification. .Sh HISTORY A diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c index 5474199b435..8cf99595d18 100644 --- a/usr.bin/diff/diff.c +++ b/usr.bin/diff/diff.c @@ -43,7 +43,7 @@ struct stat stb1, stb2; struct excludes *excludes_list; regex_t ignore_re; -#define OPTIONS "0123456789abC:cdD:efhI:iL:lnNPpqrS:sTtU:uwX:x:" +#define OPTIONS "0123456789abC:cdD:efhI:iL:nNPpqrS:sTtU:uwX:x:" static struct option longopts[] = { { "text", no_argument, 0, 'a' }, { "ignore-space-change", no_argument, 0, 'b' }, -- 2.37.3