]> git.proxmox.com Git - cargo.git/commit - tests/testsuite/doc.rs
Auto merge of #10133 - joshtriplett:release-short, r=ehuss
authorbors <bors@rust-lang.org>
Sun, 5 Dec 2021 19:44:23 +0000 (19:44 +0000)
committerbors <bors@rust-lang.org>
Sun, 5 Dec 2021 19:44:23 +0000 (19:44 +0000)
commitcf474a5de7ee5f5f608814ea202dbdd0c2240bb6
tree130a44e2f52f81cdf0cbfeec90e9d396b0568911
parentf9089fc5be17e9ddfa0bcf79999572fe7e247cb1
parentc92d917f31c72da93e1a2c7d170235c0db3395fa
Auto merge of #10133 - joshtriplett:release-short, r=ehuss

Support abbreviating `--release` as `-r`

Of the options people regularly pass to cargo, `--release` seems by far
the most common. Yet even on the command line, we expect people to type
out `--release`.

Add a short version `-r`, and add some tests in the testsuite that
confirm it works.