Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmael Luceno <ismael@iodev.co.uk>2021-09-28 22:47:49 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-29 00:22:47 +0300
commit35727f5741b0c06ab53769e400c2074d2e77a77b (patch)
treefbf536c4b6fc395292d3575e482fac96b8270833 /miscutils
parent5b026d1ecf2df93d31248153a7f5d0c45a5d12fa (diff)
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 223c2558d..26983f40d 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;