summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorIsmael Luceno2021-09-28 21:47:49 +0200
committerDenys Vlasenko2021-09-28 23:22:47 +0200
commit35727f5741b0c06ab53769e400c2074d2e77a77b (patch)
treefbf536c4b6fc395292d3575e482fac96b8270833 /miscutils
parent5b026d1ecf2df93d31248153a7f5d0c45a5d12fa (diff)
downloadbusybox-35727f5741b0c06ab53769e400c2074d2e77a77b.zip
busybox-35727f5741b0c06ab53769e400c2074d2e77a77b.tar.gz
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>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
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;