Skip to content

output --dump-default-config to stdout if no path is given #2047

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

Merged
merged 1 commit into from
Oct 13, 2017
Merged

output --dump-default-config to stdout if no path is given #2047

merged 1 commit into from
Oct 13, 2017

Conversation

japaric
Copy link
Member

@japaric japaric commented Oct 9, 2017

closes #1988

@japaric
Copy link
Member Author

japaric commented Oct 9, 2017

Alternative implementation (write to rustfmt.toml if no path is given) in #2046.

@nrc nrc merged commit 23be63f into rust-lang:master Oct 13, 2017
@nrc
Copy link
Member

nrc commented Oct 13, 2017

Thank you!

"",
"dump-default-config",
"Dumps the default configuration to a file and exits.",
"Dumps the default configuration to a file and exits. PATH defaults to rustfmt.toml if \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment is incorrect?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a commit to correct this in #2060.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, thanks for noticing and fixing this.

@japaric japaric deleted the dump-default-config-2 branch October 17, 2017 13:46
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

Successfully merging this pull request may close these issues.

--dump-default-config does not have a default argument
3 participants