less: accept -R option. Closes 10816
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
23286900da
commit
0e0209ac53
@ -1814,7 +1814,11 @@ int less_main(int argc, char **argv)
|
|||||||
* -s: condense many empty lines to one
|
* -s: condense many empty lines to one
|
||||||
* (used by some setups for manpage display)
|
* (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;
|
argv += optind;
|
||||||
num_files = argc - optind;
|
num_files = argc - optind;
|
||||||
files = argv;
|
files = argv;
|
||||||
|
Loading…
Reference in New Issue
Block a user