Skip to content

Commit

Permalink
Fix default flag values in README.md
Browse files Browse the repository at this point in the history
Update default values to match the source code in
https://github.com/google/addlicense/blob/master/main.go
  • Loading branch information
mbrukman committed Jan 6, 2019
1 parent 7af3504 commit 1f3818b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ to any file that already has one.

addlicense [flags] pattern [pattern ...]

-c copyright holder (default "Google LLC.")
-c copyright holder (defaults to "Google LLC")
-f custom license file (no default)
-l license type: apache, bsd, mit (default "apache")
-y year (default "2018")
-l license type: apache, bsd, mit (defaults to "apache")
-y year (defaults to current year)

The pattern argument can be provided multiple times, and may also refer
to single files.
Expand Down

0 comments on commit 1f3818b

Please sign in to comment.