aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmael Luceno <ismael@iodev.co.uk>2021-09-28 21:47:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-28 23:22:47 +0200
commit35727f5741b0c06ab53769e400c2074d2e77a77b (patch)
treefbf536c4b6fc395292d3575e482fac96b8270833
parent5b026d1ecf2df93d31248153a7f5d0c45a5d12fa (diff)
downloadbusybox-w32-35727f5741b0c06ab53769e400c2074d2e77a77b.tar.gz
busybox-w32-35727f5741b0c06ab53769e400c2074d2e77a77b.tar.bz2
busybox-w32-35727f5741b0c06ab53769e400c2074d2e77a77b.zip
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>
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 223c2558d..26983f40d 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -1820,7 +1820,7 @@ int less_main(int argc, char **argv)
1820 getopt32(argv, "EMmN~IF" 1820 getopt32(argv, "EMmN~IF"
1821 IF_FEATURE_LESS_TRUNCATE("S") 1821 IF_FEATURE_LESS_TRUNCATE("S")
1822 IF_FEATURE_LESS_RAW("R") 1822 IF_FEATURE_LESS_RAW("R")
1823 /*ignored:*/"s" 1823 /*ignored:*/"sX"
1824 ); 1824 );
1825 argv += optind; 1825 argv += optind;
1826 num_files = argc - optind; 1826 num_files = argc - optind;