summaryrefslogtreecommitdiff
path: root/copyright-statement-lint.1.in
blob: 8ce6b0e67ebee243689563e3acd5ee65f68d9ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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