From ba76b1969608386bd1aff237ca2a53fa2674f4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Povi=C5=A1er?= Date: Thu, 14 Mar 2024 14:12:04 +0100 Subject: [PATCH] opt_clean: Fix cli --- passes/opt/opt_clean.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/opt/opt_clean.cc b/passes/opt/opt_clean.cc index b4c5ce9fb5e..a3149847798 100644 --- a/passes/opt/opt_clean.cc +++ b/passes/opt/opt_clean.cc @@ -819,7 +819,7 @@ struct OptCleanPass : public Pass { for (argidx = 1; argidx < args.size(); argidx++) { if (args[argidx] == "-purge") purge_mode = true; - if (args[argidx] == "-coarse") + else if (args[argidx] == "-coarse") coarse_mode = true; else break;