2
0
Fork 0
mirror of https://github.com/rust-lang/rust-analyzer synced 2025-01-30 22:03:37 +00:00
rust-analyzer/xtask/src/help.rs
2019-11-18 15:27:04 +03:00

46 lines
828 B
Rust

//! FIXME: write short doc here
pub const GLOBAL_HELP: &str = "tasks
USAGE:
ra_tools <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
SUBCOMMANDS:
format
install-pre-commit-hook
fuzz-tests
codegen
install
lint";
pub const INSTALL_HELP: &str = "ra_tools-install
USAGE:
ra_tools.exe install [FLAGS]
FLAGS:
--client-code
-h, --help Prints help information
--jemalloc
--server";
pub fn print_no_param_subcommand_help(subcommand: &str) {
eprintln!(
"ra_tools-{}
USAGE:
ra_tools {}
FLAGS:
-h, --help Prints help information",
subcommand, subcommand
);
}
pub const INSTALL_RA_CONFLICT: &str =
"error: The argument `--server` cannot be used with `--client-code`
For more information try --help";