File tree 4 files changed +12
-4
lines changed
tests/suite/cli-ui/rustup
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ Standard release channel toolchain names have the following form:
15
15
```
16
16
<channel>[-<date>][-<host>]
17
17
18
- <channel> = stable|beta|nightly|<major.minor>|<major.minor.patch>
18
+ <channel> = stable|beta|nightly|<versioned>[-<prerelease>]
19
+ <versioned> = <major.minor>|<major.minor.patch>
20
+ <prerelease> = beta[.<number>]
19
21
<date> = YYYY-MM-DD
20
22
<host> = <target-triple>
21
23
```
Original file line number Diff line number Diff line change @@ -122,7 +122,9 @@ string in the following form:
122
122
```
123
123
(<channel>[-<date>])|<custom toolchain name>
124
124
125
- <channel> = stable|beta|nightly|<major.minor.patch>
125
+ <channel> = stable|beta|nightly|<versioned>[-<prerelease>]
126
+ <versioned> = <major.minor>|<major.minor.patch>
127
+ <prerelease> = beta[.<number>]
126
128
<date> = YYYY-MM-DD
127
129
```
128
130
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ pub(crate) static TOOLCHAIN_HELP: &str = r"Discussion:
55
55
56
56
<channel>[-<date>][-<host>]
57
57
58
- <channel> = stable|beta|nightly|<major.minor>|<major.minor.patch>
58
+ <channel> = stable|beta|nightly|<versioned>[-<prerelease>]
59
+ <versioned> = <major.minor>|<major.minor.patch>
60
+ <prerelease> = beta[.<number>]
59
61
<date> = YYYY-MM-DD
60
62
<host> = <target-triple>
61
63
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ Discussion:
28
28
29
29
<channel>[-<date>][-<host>]
30
30
31
- <channel> = stable|beta|nightly|<major.minor>|<major.minor.patch>
31
+ <channel> = stable|beta|nightly|<versioned>[-<prerelease>]
32
+ <versioned> = <major.minor>|<major.minor.patch>
33
+ <prerelease> = beta[.<number>]
32
34
<date> = YYYY-MM-DD
33
35
<host> = <target-triple>
34
36
You can’t perform that action at this time.
0 commit comments