New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--no-prompt option to rustup-init fails #1031
Comments
You seem to have mistaken an internal lookup key for an option dictionary data structure as a long command line option. According to the documents of the
.arg(Arg::with_name("no-prompt")
.short("y")
.help("Disable confirmation prompt.")) .arg(Arg::with_name("verbose")
.short("v")
.long("verbose")
.help("Enable verbose output")) the latter of which surely accepts both |
Ah, you are correct! I guess I will close this. Thanks! |
I gathered from this that curl https://sh.rustup.rs -sSf | sh -s -- -y is what you need to run in order to skip the prompts. -- Could someone explain or direct me to documentation on the I was trying to run it like this, previously:
and was failing. |
@lmj0011 My understanding is it's merely a decades-old convention but POSIX "Utility Syntax Guidelines" gives some legitimacy to it |
The source code shows the long option
--no-prompt
as being the same as-y
, but that doesn't actually work with the latest rustup:I discovered this after attempting to install Rust non-interactively on Circle CI and it errored:
The text was updated successfully, but these errors were encountered: