From e0c49abe568e113d53601165ffb5fbd1c4b17aaa Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 2 Feb 2017 11:35:15 -0800 Subject: [PATCH] Change show-llvm opt to -v --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 204e44c..b53b28b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ fn main() { std::process::exit(1); } - let show_llvm_ir = option_matches.opt_present("l"); + let show_llvm_ir = option_matches.opt_present("v"); let compile = !option_matches.opt_present("i"); let trace_evaluation = option_matches.opt_present("t"); @@ -67,7 +67,7 @@ fn program_options() -> getopts::Options { options.optflag("t", "trace-evaluation", "Print out trace of evaluation"); - options.optflag("l", + options.optflag("v", "llvm-in-repl", "Show LLVM IR in REPL"); options.optflag("",