File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ VAL_OPTIONS=""
288
288
flag uninstall " only uninstall from the installation prefix"
289
289
valopt prefix " " " set installation prefix"
290
290
valopt date " " " use the YYYY-MM-DD nightly instead of the current nightly"
291
- valopt channel " nightly " " use the selected release channel [nightly ]"
291
+ valopt channel " beta " " use the selected release channel [beta ]"
292
292
flag save " save the downloaded nightlies to ~/.rustup"
293
293
294
294
if [ $HELP -eq 1 ]
@@ -460,8 +460,11 @@ case "$CFG_CHANNEL" in
460
460
461
461
RUST_PACKAGE_NAME=rust-nightly
462
462
;;
463
+ beta)
464
+ RUST_PACKAGE_NAME=rust-1.0.0-beta
465
+ ;;
463
466
* )
464
- err " Currently nightly is the only supported release channel "
467
+ err " Currently 'beta' and ' nightly' are the only supported channels "
465
468
esac
466
469
467
470
RUST_PACKAGE_NAME_AND_TRIPLE=" ${RUST_PACKAGE_NAME} -${HOST_TRIPLE} "
You can’t perform that action at this time.
0 commit comments