diff --git a/rustup-init.sh b/rustup-init.sh index 51d25d8b79..93d86ed2e3 100755 --- a/rustup-init.sh +++ b/rustup-init.sh @@ -706,7 +706,7 @@ check_help_for() { shift local _category - if "$_cmd" --help | grep -q 'For all options use the manual or "--help all".'; then + if "$_cmd" --help | grep -q '"--help all"'; then _category="all" else _category=""