fix(readme): Update the docs to show current year

The default for `year` is actually the current year, so this will update the documentation to reflect that
This commit is contained in:
Jason Field
2023-01-28 18:17:30 +08:00
committed by Will Norris
parent dc31ac9ffc
commit af4d9cf5dd

View File

@@ -23,7 +23,7 @@ addlicense requires go 1.16 or later.
-l license type: apache, bsd, mit, mpl (default "apache") -l license type: apache, bsd, mit, mpl (default "apache")
-s Include SPDX identifier in license header. Set -s=only to only include SPDX identifier. -s Include SPDX identifier in license header. Set -s=only to only include SPDX identifier.
-v verbose mode: print the name of the files that are modified -v verbose mode: print the name of the files that are modified
-y copyright year(s) (default "2022") -y copyright year(s) (default is the current year)
The pattern argument can be provided multiple times, and may also refer The pattern argument can be provided multiple times, and may also refer
to single files. Directories are processed recursively. to single files. Directories are processed recursively.