less: accept -R option. Closes 10816

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-02-27 11:47:51 +01:00
parent 23286900da
commit 0e0209ac53

View File

@ -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;