diff --git a/crates/erg_common/config.rs b/crates/erg_common/config.rs index 7307ab78..cb4fdd38 100644 --- a/crates/erg_common/config.rs +++ b/crates/erg_common/config.rs @@ -288,6 +288,9 @@ impl ErgConfig { "--check" => { cfg.mode = ErgMode::FullCheck; } + "--lint" => { + cfg.mode = ErgMode::Lint; + } "--compile" | "--dump-as-pyc" => { cfg.mode = ErgMode::Compile; }