@@ -779,6 +779,7 @@ unstable_cli_options!(
779779 next_lockfile_bump: bool ,
780780 no_index_update: bool = ( "Do not update the registry index even if the cache is outdated" ) ,
781781 panic_abort_tests: bool = ( "Enable support to run tests with -Cpanic=abort" ) ,
782+ precise_pre_release: bool = ( "Enable pre-release versions to be selected with `update --precise`" ) ,
782783 profile_rustflags: bool = ( "Enable the `rustflags` option in profiles in .cargo/config.toml file" ) ,
783784 publish_timeout: bool = ( "Enable the `publish.timeout` key in .cargo/config.toml file" ) ,
784785 rustdoc_map: bool = ( "Allow passing external documentation mappings to rustdoc" ) ,
@@ -1125,6 +1126,7 @@ impl CliUnstable {
11251126 "no-index-update" => self . no_index_update = parse_empty ( k, v) ?,
11261127 "panic-abort-tests" => self . panic_abort_tests = parse_empty ( k, v) ?,
11271128 "profile-rustflags" => self . profile_rustflags = parse_empty ( k, v) ?,
1129+ "precise-pre-release" => self . precise_pre_release = parse_empty ( k, v) ?,
11281130 "trim-paths" => self . trim_paths = parse_empty ( k, v) ?,
11291131 "publish-timeout" => self . publish_timeout = parse_empty ( k, v) ?,
11301132 "rustdoc-map" => self . rustdoc_map = parse_empty ( k, v) ?,
0 commit comments