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:
@@ -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
|
||||
}
|
||||
|
||||
|
@@ -43,6 +43,7 @@ impl BatTester {
|
||||
.current_dir(self.temp_dir.path())
|
||||
.args(&[
|
||||
"sample.rs",
|
||||
"--no-config",
|
||||
"--paging=never",
|
||||
"--color=never",
|
||||
"--decorations=always",
|
||||
|
Reference in New Issue
Block a user