rust-analyzer/crates/ra_cli/src/help.rs

73 lines
1.4 KiB
Rust
Raw Normal View History

2019-09-10 15:17:11 +00:00
pub const GLOBAL_HELP: &str = "ra-cli
2019-09-10 10:31:40 +00:00
USAGE:
ra_cli <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
SUBCOMMANDS:
analysis-bench
analysis-stats
highlight
parse
2019-09-10 15:17:11 +00:00
symbols";
2019-09-10 10:31:40 +00:00
2019-09-10 15:17:11 +00:00
pub const ANALYSIS_BENCH_HELP: &str = "ra_cli-analysis-bench
2019-09-10 10:31:40 +00:00
USAGE:
ra_cli analysis-bench [FLAGS] [OPTIONS] [PATH]
FLAGS:
-h, --help Prints help information
-v, --verbose
OPTIONS:
--complete <PATH:LINE:COLUMN> Compute completions at this location
--highlight <PATH> Hightlight this file
ARGS:
2019-09-10 15:17:11 +00:00
<PATH> Project to analyse";
2019-09-10 10:31:40 +00:00
2019-09-10 15:17:11 +00:00
pub const ANALYSIS_STATS_HELP: &str = "ra-cli-analysis-stats
2019-09-10 10:31:40 +00:00
USAGE:
ra_cli analysis-stats [FLAGS] [OPTIONS] [PATH]
FLAGS:
-h, --help Prints help information
--memory-usage
-v, --verbose
OPTIONS:
-o <ONLY>
ARGS:
2019-09-10 15:17:11 +00:00
<PATH>";
2019-09-10 10:31:40 +00:00
2019-09-10 15:17:11 +00:00
pub const HIGHLIGHT_HELP: &str = "ra-cli-highlight
2019-09-10 10:31:40 +00:00
USAGE:
ra_cli highlight [FLAGS]
FLAGS:
-h, --help Prints help information
2019-09-10 15:17:11 +00:00
-r, --rainbow";
2019-09-10 10:31:40 +00:00
2019-09-10 15:17:11 +00:00
pub const SYMBOLS_HELP: &str = "ra-cli-symbols
2019-09-10 10:31:40 +00:00
USAGE:
ra_cli highlight [FLAGS]
FLAGS:
2019-09-10 15:17:11 +00:00
-h, --help Prints help inforamtion";
2019-09-10 10:31:40 +00:00
2019-09-10 15:17:11 +00:00
pub const PARSE_HELP: &str = "ra-cli-parse
2019-09-10 10:31:40 +00:00
USAGE:
ra_cli parse [FLAGS]
FLAGS:
-h, --help Prints help inforamtion
2019-09-10 15:17:11 +00:00
--no-dump";