Rename --setup to --prepare

This commit is contained in:
sharkdp committed 2018-01-18 18:13:12 +01:00
1 parent d5e02ff768
commit a656fbe508
4 files changed
+39 -30

No files matched your search

+3 -3
View File
@@ -22,8 +22,8 @@ pub struct HyperfineOptions {
/// Whether or not to ignore non-zero exit codes
pub ignore_failure: bool,
/// Command to run before each benchmark run
pub setup_command: Option<String>,
/// Command to run before each timing run
pub preparation_command: Option<String>,
}
impl Default for HyperfineOptions {
@@ -33,7 +33,7 @@ impl Default for HyperfineOptions {
min_runs: 10,
min_time_sec: 3.0,
ignore_failure: false,
setup_command: None,
preparation_command: None,
}
}
}