diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-27 11:47:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-27 11:47:51 +0100 |
commit | 0e0209ac5312fb0a4cf740f59e3564c6549f4d77 (patch) | |
tree | 675cfda8e31ab39c8db65783fc33aa0b7e510caf /miscutils | |
parent | 23286900da2f38de6b7f0c8318263eac4ce774d1 (diff) | |
download | busybox-0e0209ac5312fb0a4cf740f59e3564c6549f4d77.tar.gz |
less: accept -R option. Closes 10816
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/less.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 97ab1e6f8..51ef2a59d 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -1814,7 +1814,11 @@ int less_main(int argc, char **argv) * -s: condense many empty lines to one * (used by some setups for manpage display) */ - getopt32(argv, "EMmN~I" IF_FEATURE_LESS_TRUNCATE("S") /*ignored:*/"s"); + getopt32(argv, "EMmN~I" + IF_FEATURE_LESS_TRUNCATE("S") + IF_FEATURE_LESS_RAW("R") + /*ignored:*/"s" + ); argv += optind; num_files = argc - optind; files = argv; |