sort: Stop "fixing" obsolete key syntax after -- flag
PR: 255798 Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30234
This commit is contained in:
parent
8b3c4231ab
commit
fa43162c63
@ -858,6 +858,11 @@ fix_obsolete_keys(int *argc, char **argv)
|
||||
|
||||
arg1 = argv[i];
|
||||
|
||||
if (strcmp(arg1, "--") == 0) {
|
||||
/* Following arguments are treated as filenames. */
|
||||
break;
|
||||
}
|
||||
|
||||
if (strlen(arg1) > 1 && arg1[0] == '+') {
|
||||
int c1, f1;
|
||||
char sopts1[128];
|
||||
|
Loading…
Reference in New Issue
Block a user