Skip to content

Help text for rustup update contains a broken URL when line-broken #2920

@ketsuban

Description

@ketsuban

Problem

Some terminals (including Windows Terminal) provide a mechanism for opening URLs in the default browser when you Ctrl-click on them. The help text for rustup update contains the URL https://github.com/rust-lang/rustup/wiki/Non-host-toolchains; however, if this gets broken across two lines the resulting URL is https://github.com/rust or https://github.com/rust-, which don't go where they're supposed to.

Steps

  1. Execute the command rustup help update.

Possible Solution(s)

No response

Notes

Obviously this requires a sufficiently small terminal window to word-wrap the help text.

Rustup version

rustup 1.24.3 (ce5817a94 2021-05-31)

Installed toolchains

Default host: x86_64-pc-windows-gnu
rustup home:  C:\Users\Thomas Winwood\.rustup

installed toolchains
--------------------

stable-x86_64-pc-windows-gnu (default)
nightly-x86_64-pc-windows-gnu

active toolchain
----------------

stable-x86_64-pc-windows-gnu (default)
rustc 1.57.0 (f1edd0429 2021-11-29)

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-rustupWhatever is described in this issue isn't Rustup's fault

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions