mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
cargo: flesh out usage
This commit is contained in:
parent
8b7a41f23d
commit
327af5b9f3
@ -541,6 +541,10 @@ fn cmd_sync(c: cargo, argv: [str]) {
|
|||||||
|
|
||||||
fn cmd_usage() {
|
fn cmd_usage() {
|
||||||
print("Usage: cargo <verb> [args...]");
|
print("Usage: cargo <verb> [args...]");
|
||||||
|
print(" install [source/]package-name Install by name");
|
||||||
|
print(" install uuid:[source/]package-uuid Install by uuid");
|
||||||
|
print(" sync Sync all sources");
|
||||||
|
print(" usage This");
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main(argv: [str]) {
|
fn main(argv: [str]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user