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
|
||||
#[clap(long, value_name = "FILE")]
|
||||
irvisualize: Option<String>,
|
||||
irviz: Option<String>,
|
||||
|
||||
/// Optimizes IR
|
||||
#[clap(short = 'O', long)]
|
||||
@@ -141,7 +141,7 @@ fn compile_ir(
|
||||
return;
|
||||
}
|
||||
|
||||
if let Some(path) = &matches.irvisualize {
|
||||
if let Some(path) = &matches.irviz {
|
||||
assert_eq!(
|
||||
Path::new(&path).extension(),
|
||||
Some(std::ffi::OsStr::new("png"))
|
||||
|
||||
Reference in New Issue
Block a user