From af4d9cf5dd41c61bc46403857fb8da301101cf8a Mon Sep 17 00:00:00 2001 From: Jason Field Date: Sat, 28 Jan 2023 18:17:30 +0800 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 008f2b2..55505b9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ addlicense requires go 1.16 or later. -l license type: apache, bsd, mit, mpl (default "apache") -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 - -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 to single files. Directories are processed recursively.