aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_tools/src/help.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-10-17 21:14:31 +0100
committerGitHub <[email protected]>2019-10-17 21:14:31 +0100
commit6b9bd7bdd2712a7e85d6bfc70c231dbe36c2e585 (patch)
tree890a88741ef83c5ca0a57006c1972d0870fd86a4 /crates/ra_tools/src/help.rs
parent65ab81e35868c09ac9c93cf1d53a607f5caede53 (diff)
parent5376c769f0cb6076c4862e728af042bb563a5051 (diff)
Merge #2032
2032: rename tools -> xtask r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_tools/src/help.rs')
-rw-r--r--crates/ra_tools/src/help.rs47
1 files changed, 0 insertions, 47 deletions
diff --git a/crates/ra_tools/src/help.rs b/crates/ra_tools/src/help.rs
deleted file mode 100644
index 72dfabacd..000000000
--- a/crates/ra_tools/src/help.rs
+++ /dev/null
@@ -1,47 +0,0 @@
1//! FIXME: write short doc here
2
3pub const GLOBAL_HELP: &str = "tasks
4
5USAGE:
6 ra_tools <SUBCOMMAND>
7
8FLAGS:
9 -h, --help Prints help information
10
11SUBCOMMANDS:
12 format
13 format-hook
14 fuzz-tests
15 gen-syntax
16 gen-tests
17 install-ra
18 lint";
19
20pub const INSTALL_RA_HELP: &str = "ra_tools-install-ra
21
22USAGE:
23 ra_tools.exe install-ra [FLAGS]
24
25FLAGS:
26 --client-code
27 -h, --help Prints help information
28 --jemalloc
29 --server";
30
31pub fn print_no_param_subcommand_help(subcommand: &str) {
32 eprintln!(
33 "ra_tools-{}
34
35USAGE:
36 ra_tools {}
37
38FLAGS:
39 -h, --help Prints help information",
40 subcommand, subcommand
41 );
42}
43
44pub const INSTALL_RA_CONFLICT: &str =
45 "error: The argument `--server` cannot be used with `--client-code`
46
47For more information try --help";