rust-lang/rust-installer

install.sh --help does not work

mvdnes opened this issue · 1 comments

./install.sh --help gives:

Usage: ./install.sh [options]

Options:

./install.sh: line 254: META: unbound variable

When running a modified version without set -u:

Usage: ./install.sh [options]

Options:

    --uninstall                      only uninstall from the installation prefix
    --<none>=[<none>]                set installation root
    --/usr/local=[/usr/local]        set installation prefix
    --<none>=[<none>]                comma-separated list of components to not install
    --<none>=[<none>]                comma-separated list of components to install
    --list-components                list available components
    --/lib=[/lib]                    install libraries
    --/share/man=[/share/man]        install man pages in PATH
    --disable-ldconfig               don't run ldconfig after installation (Linux only)
    --disable-verify                 don't obsolete
    --verbose                        run with verbose output

Which is also not correct.

I see that this was fixed by #27 and #29 👍