diff options
Diffstat (limited to 'crates/ra_cli/src/help.rs')
-rw-r--r-- | crates/ra_cli/src/help.rs | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/crates/ra_cli/src/help.rs b/crates/ra_cli/src/help.rs new file mode 100644 index 000000000..5171578f0 --- /dev/null +++ b/crates/ra_cli/src/help.rs | |||
@@ -0,0 +1,72 @@ | |||
1 | pub const GLOBAL_HELP: &str = "ra-cli | ||
2 | |||
3 | USAGE: | ||
4 | ra_cli <SUBCOMMAND> | ||
5 | |||
6 | FLAGS: | ||
7 | -h, --help Prints help information | ||
8 | |||
9 | SUBCOMMANDS: | ||
10 | analysis-bench | ||
11 | analysis-stats | ||
12 | highlight | ||
13 | parse | ||
14 | symbols"; | ||
15 | |||
16 | pub const ANALYSIS_BENCH_HELP: &str = "ra_cli-analysis-bench | ||
17 | |||
18 | USAGE: | ||
19 | ra_cli analysis-bench [FLAGS] [OPTIONS] [PATH] | ||
20 | |||
21 | FLAGS: | ||
22 | -h, --help Prints help information | ||
23 | -v, --verbose | ||
24 | |||
25 | OPTIONS: | ||
26 | --complete <PATH:LINE:COLUMN> Compute completions at this location | ||
27 | --highlight <PATH> Hightlight this file | ||
28 | |||
29 | ARGS: | ||
30 | <PATH> Project to analyse"; | ||
31 | |||
32 | pub const ANALYSIS_STATS_HELP: &str = "ra-cli-analysis-stats | ||
33 | |||
34 | USAGE: | ||
35 | ra_cli analysis-stats [FLAGS] [OPTIONS] [PATH] | ||
36 | |||
37 | FLAGS: | ||
38 | -h, --help Prints help information | ||
39 | --memory-usage | ||
40 | -v, --verbose | ||
41 | |||
42 | OPTIONS: | ||
43 | -o <ONLY> | ||
44 | |||
45 | ARGS: | ||
46 | <PATH>"; | ||
47 | |||
48 | pub const HIGHLIGHT_HELP: &str = "ra-cli-highlight | ||
49 | |||
50 | USAGE: | ||
51 | ra_cli highlight [FLAGS] | ||
52 | |||
53 | FLAGS: | ||
54 | -h, --help Prints help information | ||
55 | -r, --rainbow"; | ||
56 | |||
57 | pub const SYMBOLS_HELP: &str = "ra-cli-symbols | ||
58 | |||
59 | USAGE: | ||
60 | ra_cli highlight [FLAGS] | ||
61 | |||
62 | FLAGS: | ||
63 | -h, --help Prints help inforamtion"; | ||
64 | |||
65 | pub const PARSE_HELP: &str = "ra-cli-parse | ||
66 | |||
67 | USAGE: | ||
68 | ra_cli parse [FLAGS] | ||
69 | |||
70 | FLAGS: | ||
71 | -h, --help Prints help inforamtion | ||
72 | --no-dump"; | ||