From 35727f5741b0c06ab53769e400c2074d2e77a77b Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Tue, 28 Sep 2021 21:47:49 +0200 Subject: less: Ignore -X The flag disables termcap init/deinit of the terminal, which the applet doesn't do anyway. Signed-off-by: Ismael Luceno Signed-off-by: Denys Vlasenko --- miscutils/less.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils') diff --git a/miscutils/less.c b/miscutils/less.c index 223c255..26983f4 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -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; -- cgit v1.1