mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-30 22:03:37 +00:00
46 lines
828 B
Rust
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";
|