mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 09:01:25 +00:00
Support parameter in preparation command
This commit is contained in:
1 parent
4d68c5f72c
commit
fb9b30c7f8
2 files changed
+16
-10
No files matched your search
@@ -38,6 +38,10 @@ impl<'a> Command<'a> {
|
||||
None => self.expression.into(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_parameter(&self) -> Option<(&'a str, i32)> {
|
||||
self.parameter
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> fmt::Display for Command<'a> {
|
||||
|
||||
Reference in new issue
Block a user