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:
parent
5b026d1ecf
commit
35727f5741
@ -1820,7 +1820,7 @@ int less_main(int argc, char **argv)
|
|||||||
getopt32(argv, "EMmN~IF"
|
getopt32(argv, "EMmN~IF"
|
||||||
IF_FEATURE_LESS_TRUNCATE("S")
|
IF_FEATURE_LESS_TRUNCATE("S")
|
||||||
IF_FEATURE_LESS_RAW("R")
|
IF_FEATURE_LESS_RAW("R")
|
||||||
/*ignored:*/"s"
|
/*ignored:*/"sX"
|
||||||
);
|
);
|
||||||
argv += optind;
|
argv += optind;
|
||||||
num_files = argc - optind;
|
num_files = argc - optind;
|
||||||
|
Loading…
Reference in New Issue
Block a user