diff options
-rw-r--r-- | copyright-statement-lint.1.in | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/copyright-statement-lint.1.in b/copyright-statement-lint.1.in new file mode 100644 index 0000000..8ce6b0e --- /dev/null +++ b/copyright-statement-lint.1.in @@ -0,0 +1,34 @@ +.\" Copyright 2014 Lars Wirzenius <liw@liw.fi> +.\" +.\" 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 <http://www.gnu.org/licenses/>. +.\" +.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 |