diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-27 18:32:49 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-27 18:32:49 +0000 |
commit | c059a6600a0c7a1c317fd6df512a21ba89b0358c (patch) | |
tree | 1cbb3648d72f3aa7f8784923e6ab6a20c7b35bff | |
parent | 605e726132b7fb15a23bea22c8c5a7883a0645d9 (diff) | |
download | copyright-statement-lint-c059a6600a0c7a1c317fd6df512a21ba89b0358c.tar.gz |
Add a manpage template
-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 |