v0.0-380-g4bccae0: PR #290: verilog_format: accept multiple files to all process.
* Don't CHECK()-fail when no argument is given, but print usage instead.
* Allow for arbitrary number of filename arguments.
* Don't --inplace overwrite a file if the formatting did not
generate any change (this is crucial to use in build-systems where
typically the timestamp indicates if something needs to be
re-built).
Signed-off-by: Henner Zeller <[email protected]>
GitHub PR https://github.com/google/verible/pull/290
Copybara import of the project:
- 68da3f4768db43edf829644c31fd9aaf525e8f73 verilog_format: accept multiple files to all process. by Henner Zeller <[email protected]>
- 4624a3b097e583eae02ced63013e8f39c819e57e Exit early if no filename is given. by Henner Zeller <[email protected]>
- 8b7115983048a91fe89dd8be3bebdb6690fb32ff Multiple files: always require --inplace. by Henner Zeller <[email protected]>
- bb49fe4eb920b4b63e14a4b9be2ee12095cc8fa5 Fix typo. by Henner Zeller <[email protected]>
- 50dae4b1b25951bbd4831aa129e6ae2d7bbb16fc Address review comments. by Henner Zeller <[email protected]>
- 011263f6e159d2a8892f3ef9bf070bba3555fbf9 ... more review comments. by Henner Zeller <[email protected]>
- 02d4e95cc71383be199be13ff9522273fd71eb7c Always print entire error messages to newline. by Henner Zeller <[email protected]>
- b28bfc5f1269e7ccda128e5170f86e9b79ed0da7 Make reference symbol hug to type. by Henner Zeller <[email protected]>
Closes #290
PiperOrigin-RevId: 310404968