Skip to content

Commit

Permalink
Require toolchain-version for skip-version-parse arg (#396)
Browse files Browse the repository at this point in the history
* feat: Require toolchain-version for skip-version-parse arg

* docs: Update changelog
  • Loading branch information
SergioGasquez committed Nov 14, 2023
1 parent efc7ff7 commit 66db3ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 66db3ba

Please sign in to comment.