Cleanup args a bit
This commit is contained in:
parent
0ad6b6d407
commit
d9bed8aa45
@ -84,7 +84,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
if matches.contains(["-h", "--help"]) {
|
if matches.contains(["-h", "--help"]) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
ra-cli-parse
|
rust-analyzer parse
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer parse [FLAGS]
|
rust-analyzer parse [FLAGS]
|
||||||
@ -104,7 +104,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
if matches.contains(["-h", "--help"]) {
|
if matches.contains(["-h", "--help"]) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
ra-cli-symbols
|
rust-analyzer symbols
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer highlight [FLAGS]
|
rust-analyzer highlight [FLAGS]
|
||||||
@ -123,7 +123,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
if matches.contains(["-h", "--help"]) {
|
if matches.contains(["-h", "--help"]) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
ra-cli-highlight
|
rust-analyzer highlight
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer highlight [FLAGS]
|
rust-analyzer highlight [FLAGS]
|
||||||
@ -143,7 +143,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
if matches.contains(["-h", "--help"]) {
|
if matches.contains(["-h", "--help"]) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
ra-cli-analysis-stats
|
rust-analyzer analysis-stats
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer analysis-stats [FLAGS] [OPTIONS] [PATH]
|
rust-analyzer analysis-stats [FLAGS] [OPTIONS] [PATH]
|
||||||
@ -193,7 +193,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
if matches.contains(["-h", "--help"]) {
|
if matches.contains(["-h", "--help"]) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
rust-analyzer-analysis-bench
|
rust-analyzer analysis-bench
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer analysis-bench [FLAGS] [OPTIONS]
|
rust-analyzer analysis-bench [FLAGS] [OPTIONS]
|
||||||
@ -236,7 +236,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
if matches.contains(["-h", "--help"]) {
|
if matches.contains(["-h", "--help"]) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
ra-cli-diagnostics
|
rust-analyzer diagnostics
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer diagnostics [FLAGS] [PATH]
|
rust-analyzer diagnostics [FLAGS] [PATH]
|
||||||
@ -269,7 +269,7 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
_ => {
|
_ => {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"\
|
"\
|
||||||
ra-cli
|
rust-analyzer
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
rust-analyzer <SUBCOMMAND>
|
rust-analyzer <SUBCOMMAND>
|
||||||
@ -281,6 +281,8 @@ pub(crate) fn parse() -> Result<Result<Args, HelpPrinted>> {
|
|||||||
analysis-bench
|
analysis-bench
|
||||||
analysis-stats
|
analysis-stats
|
||||||
highlight
|
highlight
|
||||||
|
diagnostics
|
||||||
|
proc-macro
|
||||||
parse
|
parse
|
||||||
symbols"
|
symbols"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user