Skip to content

Commit

Permalink
Show alias in help message
Browse files Browse the repository at this point in the history
Improve feature discovery of help message
Inspired by x.py help rust-lang/rust#71357
Improves #6104
  • Loading branch information
pickfire committed Jun 2, 2020
1 parent 40ebd52 commit a3118e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bin/cargo/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@ OPTIONS:
{unified}
Some common cargo commands are (see all commands with --list):
build Compile the current package
check Analyze the current package and report errors, but don't build object files
build, b Compile the current package
check, c Analyze the current package and report errors, but don't build object files
clean Remove the target directory
doc Build this package's and its dependencies' documentation
new Create a new cargo package
init Create a new cargo package in an existing directory
run Run a binary or example of the local package
test Run the tests
run, r Run a binary or example of the local package
test, t Run the tests
bench Run the benchmarks
update Update dependencies listed in Cargo.lock
search Search registry for crates
Expand Down

0 comments on commit a3118e1

Please sign in to comment.