mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Minor
This commit is contained in:
parent
0e5095d3ca
commit
93dfa39766
2 changed files with 20 additions and 12 deletions
|
@ -13,7 +13,7 @@ use std::env;
|
|||
use pico_args::Arguments;
|
||||
use xtask::{
|
||||
codegen::{self, Mode},
|
||||
dist::run_dist,
|
||||
dist::DistCmd,
|
||||
install::{ClientOpt, InstallCmd, Malloc, ServerOpt},
|
||||
not_bash::pushd,
|
||||
pre_commit, project_root,
|
||||
|
@ -115,7 +115,7 @@ FLAGS:
|
|||
let nightly = args.contains("--nightly");
|
||||
let client_version: Option<String> = args.opt_value_from_str("--client")?;
|
||||
args.finish()?;
|
||||
run_dist(nightly, client_version)
|
||||
DistCmd { nightly, client_version }.run()
|
||||
}
|
||||
_ => {
|
||||
eprintln!(
|
||||
|
@ -133,7 +133,8 @@ SUBCOMMANDS:
|
|||
codegen
|
||||
install
|
||||
lint
|
||||
dist"
|
||||
dist
|
||||
promote"
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue