Skip to content

Commit 0e8a8df

Browse files
committed
Auto merge of #8307 - pickfire:alias-help, r=alexcrichton
Show alias in help message Improve feature discovery of help message Inspired by x.py help rust-lang/rust#71357 Improves #6104
2 parents 40ebd52 + a3118e1 commit 0e8a8df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/cargo/cli.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,14 @@ OPTIONS:
274274
{unified}
275275
276276
Some common cargo commands are (see all commands with --list):
277-
build Compile the current package
278-
check Analyze the current package and report errors, but don't build object files
277+
build, b Compile the current package
278+
check, c Analyze the current package and report errors, but don't build object files
279279
clean Remove the target directory
280280
doc Build this package's and its dependencies' documentation
281281
new Create a new cargo package
282282
init Create a new cargo package in an existing directory
283-
run Run a binary or example of the local package
284-
test Run the tests
283+
run, r Run a binary or example of the local package
284+
test, t Run the tests
285285
bench Run the benchmarks
286286
update Update dependencies listed in Cargo.lock
287287
search Search registry for crates

0 commit comments

Comments
 (0)