1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Add --no-config option

This commit is contained in:
sharkdp
2018-10-11 21:40:14 +02:00
committed by David Peter
parent b48f0fe389
commit 495e7fd3b1
4 changed files with 11 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ use std::process::Command;
fn bat() -> Command {
let mut cmd = Command::main_binary().unwrap();
cmd.current_dir("tests/examples");
cmd.arg("--no-config");
cmd
}

View File

@@ -43,6 +43,7 @@ impl BatTester {
.current_dir(self.temp_dir.path())
.args(&[
"sample.rs",
"--no-config",
"--paging=never",
"--color=never",
"--decorations=always",