diff options
author | Ismael Luceno <ismael@iodev.co.uk> | 2021-09-28 22:47:49 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-29 00:22:47 +0300 |
commit | 35727f5741b0c06ab53769e400c2074d2e77a77b (patch) | |
tree | fbf536c4b6fc395292d3575e482fac96b8270833 /miscutils | |
parent | 5b026d1ecf2df93d31248153a7f5d0c45a5d12fa (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.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) getopt32(argv, "EMmN~IF" IF_FEATURE_LESS_TRUNCATE("S") IF_FEATURE_LESS_RAW("R") - /*ignored:*/"s" + /*ignored:*/"sX" ); argv += optind; num_files = argc - optind; |