From f731a3dce2f219a929a85486dbdc15be969cc4aa Mon Sep 17 00:00:00 2001 From: Minseong Jang Date: Thu, 27 Jan 2022 15:22:37 +0900 Subject: [PATCH] Update option name --- bin/kecc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/kecc.rs b/bin/kecc.rs index b245e74..3041918 100644 --- a/bin/kecc.rs +++ b/bin/kecc.rs @@ -43,7 +43,7 @@ struct KeccCli { /// Visualizes IR #[clap(long, value_name = "FILE")] - irvisualize: Option, + irviz: Option, /// 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"))