mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
add clap deprecation notices
This commit is contained in:
1 parent
83e214e860
commit
5fcb7166a9
4 files changed
+44
-19
No files matched your search
+1
-1
@@ -63,7 +63,7 @@ impl ExportManager {
|
||||
let mut export_manager = Self::default();
|
||||
{
|
||||
let mut add_exporter = |flag, exporttype| -> Result<()> {
|
||||
if let Some(filename) = matches.value_of(flag) {
|
||||
if let Some(filename) = matches.get_one::<String>(flag) {
|
||||
export_manager.add_exporter(exporttype, filename)?;
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user