-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Milestone
Description
Notes on some ideas for CLI changes in rustfmt 2.0.
Deprecate --backup
This should be done via any version control system.
Add subcommands
Change format-diff/git-rustfmt into rustfmt's subcommands.
Also rustfmt --print-config
could be one of subcommands as well instead of being a flag, as it takes multiple arguments.
Add --check
to cargo fmt
cargo fmt -- --check
is one of the most common usage of rustfmt. Why require an additional --
?
Metadata
Metadata
Assignees
Labels
No labels