Require toolchain-version for skip-version-parse arg (#396)

* feat: Require toolchain-version for skip-version-parse arg

* docs: Update changelog
This commit is contained in:
Sergio Gasquez Arcos 2023-11-14 12:23:56 +01:00 committed by GitHub
parent efc7ff7bdd
commit 66db3ba875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
### Fixed
- `skip-version-parse` argument should require `toolchain-version` (#396)
### Changed

View File

@ -44,7 +44,7 @@ pub struct InstallOpts {
#[arg(short = 'n', long, default_value = "nightly")]
pub nightly_version: String,
/// Skips parsing Xtensa Rust version.
#[arg(short = 'k', long)]
#[arg(short = 'k', long, requires = "toolchain_version")]
pub skip_version_parse: bool,
/// Only install toolchains required for STD applications.
///