summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/tests/testsuite/cargo_clean/help/stdout.log
blob: 6e9e82772f1fe43dbe4f42630c58b5fb3b81f02c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Remove artifacts that cargo has generated in the past

Usage: cargo[EXE] clean [OPTIONS]

Options:
      --doc                 Whether or not to clean just the documentation directory
  -q, --quiet               Do not print cargo log messages
  -n, --dry-run             Display what would be deleted without deleting anything
  -v, --verbose...          Use verbose output (-vv very verbose/build.rs output)
      --color <WHEN>        Coloring: auto, always, never
      --config <KEY=VALUE>  Override a configuration value
  -Z <FLAG>                 Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
  -h, --help                Print help

Package Selection:
  -p, --package [<SPEC>]  Package to clean artifacts for

Compilation Options:
  -r, --release                 Whether or not to clean release artifacts
      --profile <PROFILE-NAME>  Clean artifacts of the specified profile
      --target [<TRIPLE>]       Target triple to clean output for
      --target-dir <DIRECTORY>  Directory for all generated artifacts

Manifest Options:
      --manifest-path <PATH>  Path to Cargo.toml
      --frozen                Require Cargo.lock and cache are up to date
      --locked                Require Cargo.lock is up to date
      --offline               Run without accessing the network

Run `cargo help clean` for more detailed information.