less: Ignore -X

The flag disables termcap init/deinit of the terminal, which the applet
doesn't do anyway.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Ismael Luceno 2021-09-28 21:47:49 +02:00 committed by Denys Vlasenko
parent 5b026d1ecf
commit 35727f5741

View File

@ -1820,7 +1820,7 @@ int less_main(int argc, char **argv)
getopt32(argv, "EMmN~IF"
IF_FEATURE_LESS_TRUNCATE("S")
IF_FEATURE_LESS_RAW("R")
/*ignored:*/"s"
/*ignored:*/"sX"
);
argv += optind;
num_files = argc - optind;