mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 04:45:01 +00:00
Use wild::args()
and add wild
as a dependency (#3739)
This commit is contained in:
parent
a66481ed28
commit
c0befb4670
3 changed files with 12 additions and 1 deletions
|
@ -23,7 +23,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|||
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
|
||||
pub fn main() -> ExitCode {
|
||||
let mut args: Vec<_> = std::env::args().collect();
|
||||
let mut args: Vec<_> = wild::args().collect();
|
||||
|
||||
// Clap doesn't support default subcommands but we want to run `check` by
|
||||
// default for convenience and backwards-compatibility, so we just
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue