Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
arlosi committed Oct 24, 2023
1 parent 4d7790a commit e7409a1
Show file tree
Hide file tree
Showing 38 changed files with 165 additions and 123 deletions.
27 changes: 14 additions & 13 deletions tests/testsuite/cargo/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ Usage: cargo [..][OPTIONS] [COMMAND]
cargo [..][OPTIONS] -Zscript <MANIFEST_RS> [ARGS]...

Options:
-V, --version Print version info and exit
--list List installed commands
--explain <CODE> Provide a detailed explanation of a rustc error message
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
-q, --quiet Do not print cargo log messages
--color <WHEN> Coloring: auto, always, never
-C <DIRECTORY> Change to DIRECTORY before doing anything (nightly-only)
--frozen Require Cargo.lock and cache are up to date
--locked Require Cargo.lock is up to date
--offline Run without accessing the network
--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
-V, --version Print version info and exit
--list List installed commands
--explain <CODE> Provide a detailed explanation of a rustc error message
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
-q, --quiet Do not print cargo log messages
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
-C <DIRECTORY> Change to DIRECTORY before doing anything (nightly-only)
--frozen Require Cargo.lock and cache are up to date
--locked Require Cargo.lock is up to date
--offline Run without accessing the network
--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

Commands:
build, b Compile the current package
Expand Down
5 changes: 5 additions & 0 deletions tests/testsuite/cargo_add/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ Options:
--color <WHEN>
Coloring: auto, always, never

--warnings <warnings>
Warning behavior

[possible values: error, warn, ignore]

--config <KEY=VALUE>
Override a configuration value

Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_bench/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_build/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_check/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
17 changes: 9 additions & 8 deletions tests/testsuite/cargo_clean/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ 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
--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
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
11 changes: 6 additions & 5 deletions tests/testsuite/cargo_config/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Commands:
get

Options:
-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
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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

Manifest Options:
--frozen Require Cargo.lock and cache are up to date
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_doc/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
13 changes: 7 additions & 6 deletions tests/testsuite/cargo_fetch/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ Fetch dependencies of a package from the network
Usage: cargo[EXE] fetch [OPTIONS]

Options:
-q, --quiet Do not print cargo log messages
-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
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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

Compilation Options:
--target [<TRIPLE>] Fetch dependencies for the target triple
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_fix/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
13 changes: 7 additions & 6 deletions tests/testsuite/cargo_generate_lockfile/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ Generate the lockfile for a package
Usage: cargo[EXE] generate-lockfile [OPTIONS]

Options:
-q, --quiet Do not print cargo log messages
-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
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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

Manifest Options:
--manifest-path <PATH> Path to Cargo.toml
Expand Down
11 changes: 6 additions & 5 deletions tests/testsuite/cargo_help/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Arguments:
[COMMAND]

Options:
-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
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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

Manifest Options:
--frozen Require Cargo.lock and cache are up to date
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_init/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_install/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Options:
--debug Build in debug mode (with the 'dev' profile) instead of release mode
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_locate_project/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_login/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_logout/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_metadata/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--config <KEY=VALUE> Override a configuration value
-Z <FLAG> Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
details
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_new/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_owner/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
21 changes: 11 additions & 10 deletions tests/testsuite/cargo_package/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ Assemble the local package into a distributable tarball
Usage: cargo[EXE] package [OPTIONS]

Options:
-l, --list Print files included in a package without making one
--no-verify Don't verify the contents by building them
--no-metadata Ignore warnings about a lack of human-usable metadata
--allow-dirty Allow dirty working directories to be packaged
-q, --quiet Do not print cargo log messages
-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
-l, --list Print files included in a package without making one
--no-verify Don't verify the contents by building them
--no-metadata Ignore warnings about a lack of human-usable metadata
--allow-dirty Allow dirty working directories to be packaged
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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(s) to assemble
Expand Down
13 changes: 7 additions & 6 deletions tests/testsuite/cargo_pkgid/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ Arguments:
[SPEC]

Options:
-q, --quiet Do not print cargo log messages
-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
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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>] Argument to get the package ID specifier for
Expand Down
1 change: 1 addition & 0 deletions tests/testsuite/cargo_publish/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Options:
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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
Expand Down
13 changes: 7 additions & 6 deletions tests/testsuite/cargo_read_manifest/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ Deprecated, use `cargo metadata --no-deps` instead.
Usage: cargo[EXE] read-manifest [OPTIONS]

Options:
-q, --quiet Do not print cargo log messages
-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
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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

Manifest Options:
--manifest-path <PATH> Path to Cargo.toml
Expand Down
15 changes: 8 additions & 7 deletions tests/testsuite/cargo_remove/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ Arguments:
<DEP_ID>... Dependencies to be removed

Options:
-n, --dry-run Don't actually write the manifest
-q, --quiet Do not print cargo log messages
-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
-n, --dry-run Don't actually write the manifest
-q, --quiet Do not print cargo log messages
-v, --verbose... Use verbose output (-vv very verbose/build.rs output)
--color <WHEN> Coloring: auto, always, never
--warnings <warnings> Warning behavior [possible values: error, warn, ignore]
--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

Section:
--dev Remove from dev-dependencies
Expand Down
Loading

0 comments on commit e7409a1

Please sign in to comment.