Fix the formatting issues

This commit is contained in:
Kirill Bulatov 2019-09-12 12:15:52 +03:00
parent 1852b27233
commit 2ca8ba783c

View file

@ -1,45 +1,45 @@
pub const GLOBAL_HELP: &str = "tasks pub const GLOBAL_HELP: &str = "tasks
USAGE: USAGE:
ra_tools <SUBCOMMAND> ra_tools <SUBCOMMAND>
FLAGS: FLAGS:
-h, --help Prints help information -h, --help Prints help information
SUBCOMMANDS: SUBCOMMANDS:
format format
format-hook format-hook
fuzz-tests fuzz-tests
gen-syntax gen-syntax
gen-tests gen-tests
install-ra install-ra
lint"; lint";
pub const INSTALL_RA_HELP: &str = "ra_tools-install-ra pub const INSTALL_RA_HELP: &str = "ra_tools-install-ra
USAGE: USAGE:
ra_tools.exe install-ra [FLAGS] ra_tools.exe install-ra [FLAGS]
FLAGS: FLAGS:
--client-code --client-code
-h, --help Prints help information -h, --help Prints help information
--jemalloc --jemalloc
--server"; --server";
pub fn print_no_param_subcommand_help(subcommand: &str) { pub fn print_no_param_subcommand_help(subcommand: &str) {
eprintln!( eprintln!(
"ra_tools-{} "ra_tools-{}
USAGE: USAGE:
ra_tools {} ra_tools {}
FLAGS: FLAGS:
-h, --help Prints help information", -h, --help Prints help information",
subcommand, subcommand subcommand, subcommand
); );
} }
pub const INSTALL_RA_CONFLICT: &str = pub const INSTALL_RA_CONFLICT: &str =
"error: The argument `--server` cannot be used with `--client-code` "error: The argument `--server` cannot be used with `--client-code`
For more information try --help"; For more information try --help";