Skip to content
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

Unrecognized option: 'write-mode' #2714

Closed
volzkzg opened this issue May 18, 2018 · 2 comments
Closed

Unrecognized option: 'write-mode' #2714

volzkzg opened this issue May 18, 2018 · 2 comments

Comments

@volzkzg
Copy link

volzkzg commented May 18, 2018

I was trying to use write-mode configuration in my CI server.

cargo +nightly-2018-05-17 fmt -- --write-mode check

It turns out to be
Unrecognized option: 'write-mode'

I just installed a specific nightly version 2018-05-17 and install rustfmt by
rustup component add rustfmt-preview --toolchain nightly-2018-05-17

@nrc
Copy link
Member

nrc commented May 18, 2018

Use --check rather than --write-mode=check

@nrc nrc closed this as completed May 18, 2018
@volzkzg
Copy link
Author

volzkzg commented May 18, 2018

@nrc Now it turns out to be
cargo manifest failed.

It works now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants