Skip to content

Commit 66db3ba

Browse files
Require toolchain-version for skip-version-parse arg (#396)
* feat: Require toolchain-version for skip-version-parse arg * docs: Update changelog
1 parent efc7ff7 commit 66db3ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
### Fixed
13+
- `skip-version-parse` argument should require `toolchain-version` (#396)
1314

1415
### Changed
1516

src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub struct InstallOpts {
4444
#[arg(short = 'n', long, default_value = "nightly")]
4545
pub nightly_version: String,
4646
/// Skips parsing Xtensa Rust version.
47-
#[arg(short = 'k', long)]
47+
#[arg(short = 'k', long, requires = "toolchain_version")]
4848
pub skip_version_parse: bool,
4949
/// Only install toolchains required for STD applications.
5050
///

0 commit comments

Comments
 (0)