From c059a6600a0c7a1c317fd6df512a21ba89b0358c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 27 Mar 2014 18:32:49 +0000 Subject: Add a manpage template --- copyright-statement-lint.1.in | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 copyright-statement-lint.1.in 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 +.\" +.\" 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 -- cgit v1.2.1