Commit Graph

6 Commits

Author SHA1 Message Date
Mithun Ayachit
27146d5f03 Implement -check flag
When this flag is used:

* The program never modifies any files
* If all files in the pattern contain a license, the program exits with
a zero exit code
* If at least one file in the pattern requires modification to include
license text, the program prints such files to STDOUT and exits with
a non-zero exit code
2020-02-18 08:54:38 -05:00
Misha Brukman
1f3818bd96 Fix default flag values in README.md
Update default values to match the source code in
https://github.com/google/addlicense/blob/master/main.go
2019-01-05 20:37:45 -05:00
Daniel Seymour
76290e641d Update README with usage information for custom license file 2018-12-19 15:59:35 -08:00
alex
92fecadfca readme: Google Inc. => LLC
The missing bit from https://github.com/google/addlicense/pull/9.
2018-07-21 15:32:53 +02:00
alex
b262c7e833 Add BSD license type to the usage in readme
The license was added in https://github.com/google/addlicense/pull/2
2018-07-21 15:31:53 +02:00
alex
6631c269a8 initial import 2016-06-27 12:03:58 +01:00