]> git.proxmox.com Git - cargo.git/commitdiff
Touch up some documentation around commands
authorAlex Crichton <alex@alexcrichton.com>
Thu, 31 Jul 2014 22:19:09 +0000 (15:19 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 31 Jul 2014 22:19:09 +0000 (15:19 -0700)
src/bin/cargo-build.rs
src/bin/cargo-clean.rs
src/bin/cargo-doc.rs
src/bin/cargo-generate-lockfile.rs
src/bin/cargo-run.rs
src/bin/cargo-test.rs

index dba3b55b1f6803c7c528116297f3a76e0e9fa5b8..20de1bea4ddd31c9b8971442d2bd141e303bcabf 100644 (file)
@@ -37,7 +37,7 @@ fn main() {
 }
 
 fn execute(options: Options, shell: &mut MultiShell) -> CliResult<Option<()>> {
-    debug!("executing; cmd=cargo-compile; args={}", os::args());
+    debug!("executing; cmd=cargo-build; args={}", os::args());
     shell.set_verbose(options.flag_verbose);
 
     let root = try!(find_root_manifest_for_cwd(options.flag_manifest_path));
index f1ca527b643f7099d0341e747800e4077ffd7348..f0be3d43fdbc980ded851c4fda10599d35d0c85d 100644 (file)
@@ -15,12 +15,14 @@ use cargo::util::{CliResult, CliError};
 use cargo::util::important_paths::{find_root_manifest_for_cwd};
 
 docopt!(Options, "
+Remove artifacts that cargo has generated in the past
+
 Usage:
     cargo-clean [options]
 
 Options:
     -h, --help              Print this message
-    --manifest-path PATH    Path to the manifest to compile
+    --manifest-path PATH    Path to the manifest to the package to clean
     -v, --verbose           Use verbose output
 ",  flag_manifest_path: Option<String>)
 
index c20e995381a4f491d10d645689fffcf49b3b7f16..afae8fc297c0109610db19b676c4bbb8a2d241a0 100644 (file)
@@ -24,7 +24,7 @@ Options:
     --no-deps               Don't build documentation for dependencies
     -j N, --jobs N          The number of jobs to run in parallel
     -u, --update-remotes    Update all remote packages before compiling
-    --manifest-path PATH    Path to the manifest to compile
+    --manifest-path PATH    Path to the manifest to document
     -v, --verbose           Use verbose output
 
 By default the documentation for the local package and all dependencies is
index 405c386e8690365e517d216d990cbde35e9ab672..d15cb22aaae193920efc152f251dbd6f85aeddaf 100644 (file)
@@ -21,10 +21,8 @@ Usage:
 
 Options:
     -h, --help              Print this message
-    --manifest-path PATH    Path to the manifest to compile
+    --manifest-path PATH    Path to the manifest to generate a lockfile for
     -v, --verbose           Use verbose output
-
-All of the trailing arguments are passed as to the binary to run.
 ",  flag_manifest_path: Option<String>)
 
 fn main() {
@@ -32,7 +30,7 @@ fn main() {
 }
 
 fn execute(options: Options, shell: &mut MultiShell) -> CliResult<Option<()>> {
-    debug!("executing; cmd=cargo-clean; args={}", os::args());
+    debug!("executing; cmd=cargo-generate-lockfile; args={}", os::args());
     shell.set_verbose(options.flag_verbose);
     let root = try!(find_root_manifest_for_cwd(options.flag_manifest_path));
 
index fd94a145b8b0e4238b3259b0442dada9eea27d96..0b4a06ce053b8868da42272383f094766df05a30 100644 (file)
@@ -23,7 +23,7 @@ Options:
     -h, --help              Print this message
     -j N, --jobs N          The number of jobs to run in parallel
     -u, --update-remotes    Update all remote packages before compiling
-    --manifest-path PATH    Path to the manifest to compile
+    --manifest-path PATH    Path to the manifest to execute
     -v, --verbose           Use verbose output
 
 All of the trailing arguments are passed as to the binary to run.
index f9c60fc392681c5312e78bcb0cacd01c33d12cc7..defcc0305a3b5c92fd7eaf11f727e7dc7813d1a6 100644 (file)
@@ -24,7 +24,7 @@ Options:
     -h, --help              Print this message
     -j N, --jobs N          The number of jobs to run in parallel
     -u, --update-remotes    Update all remote packages before compiling
-    --manifest-path PATH    Path to the manifest to compile
+    --manifest-path PATH    Path to the manifest to build tests for
     -v, --verbose           Use verbose output
 
 All of the trailing arguments are passed to the test binaries generated for