.\" Copyright 2014 Lars Wirzenius .\" .\" This program is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation, either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see . .\" .TH COPYRIGHT\-STATEMENT\-LINT 1 .SH NAME copyright\-statement\-lint \- check copyright statements in source files .SH SYNOPSIS .SH DESCRIPTION .B copyright\-statement\-lint checks that the copyright statements in files given to it. It verifies that each file has a copyright statement, and that at least one of the statements in the file has a year that matches the date of the latest git commit. .SH OPTIONS .SH EXAMPLE To check your source tree, run this at the root of your git checkout: .PP .nf .RS copyright\-statement\-lint $(git ls\-files) .RE .fi