[git commit] less: Ignore -X

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 28 21:22:47 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=35727f5741b0c06ab53769e400c2074d2e77a77b
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

The flag disables termcap init/deinit of the terminal, which the applet
doesn't do anyway.

Signed-off-by: Ismael Luceno <ismael at iodev.co.uk>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 miscutils/less.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;


More information about the busybox-cvs mailing list