on master help sign in
Also pass '--no-init' if version could not be retrieved
commite400ebd1bdc6021d21cb8831caf2112caef55321 authorsharkdp <davidpeter@web.de> dateMon 23 Dec 2019, 12:08 (7 years ago) parent6684c0b
1 file changed+3
src/output.rs+3
src/output.rs+3
@@ -81,6 +81,9 @@ impl OutputType {
8181 //
8282 // See: http://www.greenwoodsoftware.com/less/news.530.html
8383 match retrieve_less_version() {
84+ None => {
85+ p.arg("--no-init");
86+ }
8487 Some(version) if version < 530 => {
8588 p.arg("--no-init");
8689 }