diff options
author | Ismael Luceno <ismael@iodev.co.uk> | 2021-09-28 21:47:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-28 23:22:47 +0200 |
commit | 35727f5741b0c06ab53769e400c2074d2e77a77b (patch) | |
tree | fbf536c4b6fc395292d3575e482fac96b8270833 | |
parent | 5b026d1ecf2df93d31248153a7f5d0c45a5d12fa (diff) | |
download | busybox-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.c | 2 |
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; |