diff --git a/src/cli/rustup_mode.rs b/src/cli/rustup_mode.rs
index fe9666e345..7518642759 100644
--- a/src/cli/rustup_mode.rs
+++ b/src/cli/rustup_mode.rs
@@ -1648,6 +1648,7 @@ docs_data![
"proc_macro/index.html"
),
(reference, "The Rust Reference", "reference/index.html"),
+ (releases, "Rust Release Notes", "releases.html"),
(
rust_by_example,
"A collection of runnable examples that illustrate various Rust concepts and standard libraries",
diff --git a/tests/suite/cli_rustup_ui/rustup_doc_cmd_help_flag.stdout.term.svg b/tests/suite/cli_rustup_ui/rustup_doc_cmd_help_flag.stdout.term.svg
index b14e984d4b..f343347785 100644
--- a/tests/suite/cli_rustup_ui/rustup_doc_cmd_help_flag.stdout.term.svg
+++ b/tests/suite/cli_rustup_ui/rustup_doc_cmd_help_flag.stdout.term.svg
@@ -68,41 +68,43 @@
--reference The Rust Reference
- --rust-by-example A collection of runnable examples that illustrate various Rust
+ --releases Rust Release Notes
- concepts and standard libraries
+ --rust-by-example A collection of runnable examples that illustrate various Rust
- --rustc The compiler for the Rust programming language
+ concepts and standard libraries
- --rustdoc Documentation generator for Rust projects
+ --rustc The compiler for the Rust programming language
- --std Standard library API documentation
+ --rustdoc Documentation generator for Rust projects
- --style-guide The Rust Style Guide
+ --std Standard library API documentation
- --test Support code for rustc's built in unit-test and micro-benchmarking
+ --style-guide The Rust Style Guide
- framework
+ --test Support code for rustc's built in unit-test and micro-benchmarking
- --unstable-book The Unstable Book
+ framework
- -h, --help Print help
+ --unstable-book The Unstable Book
-
+ -h, --help Print help
- Discussion:
+
- Opens the documentation for the currently active toolchain with
+ Discussion:
- the default browser.
+ Opens the documentation for the currently active toolchain with
-
+ the default browser.
- By default, it opens the documentation index. Use the various
+
- flags to open specific pieces of documentation.
+ By default, it opens the documentation index. Use the various
-
+ flags to open specific pieces of documentation.
+
+