Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow showing the diff when using --in-place or --check with --diff
It can be useful to show the difference, e.g. in CI so that users know what is or should be changed. This adds a `--diff` option, that, when combined with `--check` or `--in-place`, will, in addition, show the diff to stdout.
- Loading branch information
1 parent
1def3c4
commit e045c6c
Showing
3 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters