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 | |
parent | 23286900da2f38de6b7f0c8318263eac4ce774d1 (diff) | |
download | busybox-w32-0e0209ac5312fb0a4cf740f59e3564c6549f4d77.tar.gz busybox-w32-0e0209ac5312fb0a4cf740f59e3564c6549f4d77.tar.bz2 busybox-w32-0e0209ac5312fb0a4cf740f59e3564c6549f4d77.zip |
less: accept -R option. Closes 10816
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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) | |||
1814 | * -s: condense many empty lines to one | 1814 | * -s: condense many empty lines to one |
1815 | * (used by some setups for manpage display) | 1815 | * (used by some setups for manpage display) |
1816 | */ | 1816 | */ |
1817 | getopt32(argv, "EMmN~I" IF_FEATURE_LESS_TRUNCATE("S") /*ignored:*/"s"); | 1817 | getopt32(argv, "EMmN~I" |
1818 | IF_FEATURE_LESS_TRUNCATE("S") | ||
1819 | IF_FEATURE_LESS_RAW("R") | ||
1820 | /*ignored:*/"s" | ||
1821 | ); | ||
1818 | argv += optind; | 1822 | argv += optind; |
1819 | num_files = argc - optind; | 1823 | num_files = argc - optind; |
1820 | files = argv; | 1824 | files = argv; |