aboutsummaryrefslogtreecommitdiffstats
path: root/util/flashrom_tester/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom_tester/src/main.rs')
-rw-r--r--util/flashrom_tester/src/main.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/util/flashrom_tester/src/main.rs b/util/flashrom_tester/src/main.rs
index 44429ba8..b8a2581a 100644
--- a/util/flashrom_tester/src/main.rs
+++ b/util/flashrom_tester/src/main.rs
@@ -41,7 +41,6 @@ mod logger;
use clap::{App, Arg};
use flashrom::{FlashChip, Flashrom, FlashromCmd, FlashromLib};
use flashrom_tester::{tester, tests};
-use std::path::PathBuf;
use std::sync::atomic::AtomicBool;
pub mod built_info {
@@ -92,13 +91,6 @@ fn main() {
.help("Print the layout file's contents before running tests"),
)
.arg(
- Arg::with_name("log-file")
- .short("o")
- .long("log-file")
- .takes_value(true)
- .help("Write logs to a file rather than stdout"),
- )
- .arg(
Arg::with_name("log_debug")
.short("d")
.long("debug")
@@ -121,10 +113,7 @@ fn main() {
)
.get_matches();
- logger::init(
- matches.value_of_os("log-file").map(PathBuf::from),
- matches.is_present("log_debug"),
- );
+ logger::init(matches.is_present("log_debug"));
debug!("Args parsed and logging initialized OK");
debug!("Collecting crossystem info");