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