projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2328690
)
less: accept -R option. Closes 10816
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 27 Feb 2018 10:47:51 +0000
(11:47 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 27 Feb 2018 10:47:51 +0000
(11:47 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/less.c
patch
|
blob
|
history
diff --git
a/miscutils/less.c
b/miscutils/less.c
index 97ab1e6f8fd6e90cd77d28cc7c562532c4f90ff6..51ef2a59da183e50f114719b59c1cdf300a03644 100644
(file)
--- 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;