mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Update option name
This commit is contained in:
@@ -43,7 +43,7 @@ struct KeccCli {
|
|||||||
|
|
||||||
/// Visualizes IR
|
/// Visualizes IR
|
||||||
#[clap(long, value_name = "FILE")]
|
#[clap(long, value_name = "FILE")]
|
||||||
irvisualize: Option<String>,
|
irviz: Option<String>,
|
||||||
|
|
||||||
/// Optimizes IR
|
/// Optimizes IR
|
||||||
#[clap(short = 'O', long)]
|
#[clap(short = 'O', long)]
|
||||||
@@ -141,7 +141,7 @@ fn compile_ir(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(path) = &matches.irvisualize {
|
if let Some(path) = &matches.irviz {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
Path::new(&path).extension(),
|
Path::new(&path).extension(),
|
||||||
Some(std::ffi::OsStr::new("png"))
|
Some(std::ffi::OsStr::new("png"))
|
||||||
|
|||||||
Reference in New Issue
Block a user