Simplify help

This commit is contained in:
Aleksey Kladov
2020-08-26 12:52:42 +02:00
parent a53c6f6fee
commit bb50614d88
3 changed files with 99 additions and 224 deletions

View File

@@ -38,8 +38,8 @@ fn try_main() -> Result<()> {
args::Command::Highlight { rainbow } => cli::highlight(rainbow)?,
args::Command::AnalysisStats(cmd) => cmd.run(args.verbosity)?,
args::Command::Bench(cmd) => cmd.run(args.verbosity)?,
args::Command::Diagnostics { path, load_output_dirs, with_proc_macro, all } => {
cli::diagnostics(path.as_ref(), load_output_dirs, with_proc_macro, all)?
args::Command::Diagnostics { path, load_output_dirs, with_proc_macro } => {
cli::diagnostics(path.as_ref(), load_output_dirs, with_proc_macro)?
}
args::Command::Ssr { rules } => {
cli::apply_ssr_rules(rules)?;