diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-02 16:41:07 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-02 16:41:07 +0100 |
commit | eb69388b8074a33c89b4583887e7f16f35f91d89 (patch) | |
tree | c7b4a15358a40058ab6250474126ef64cb48e830 | |
parent | d4c26863165161a9d28367b84ceec768c7eceead (diff) | |
download | larch-eb69388b8074a33c89b4583887e7f16f35f91d89.tar.gz |
Add fsck-larch manpage.
-rw-r--r-- | .bzrignore | 1 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | fsck-larch.1.in | 30 |
3 files changed, 36 insertions, 1 deletions
diff --git a/.bzrignore b/.bzrignore new file mode 100644 index 0000000..6d4b6fa --- /dev/null +++ b/.bzrignore @@ -0,0 +1 @@ +fsck-larch.1 @@ -15,9 +15,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -all: +all: fsck-larch.1 $(MAKE) -C doc html +fsck-larch.1: fsck-larch.1.in fsck-larch + ./fsck-larch --generate-manpage=fsck-larch.1.in > fsck-larch.1 + check: python -m CoverageTestRunner --ignore-missing-from=without-tests rm .coverage @@ -27,4 +30,5 @@ check: clean: rm -f .coverage *.py[co] larch/*.py[co] insert.prof lookup.prof rm -rf build tempdir larch.log example.tree + rm -f fsck-larch.1 $(MAKE) -C doc clean diff --git a/fsck-larch.1.in b/fsck-larch.1.in new file mode 100644 index 0000000..8170309 --- /dev/null +++ b/fsck-larch.1.in @@ -0,0 +1,30 @@ +.\" Copyright 2011 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 FSCK-LARCH 1 +.SH NAME +fsck-larch \- verify that a larch B-tree is internally consistent +.SH SYNOPSIS +.SH DESCRIPTION +.B fsck-larch +reads an on-disk, committed B-tree created by the +.B larch +Python library, +and verifies that it is internally consistent. +It reports any problems it finds, +but does not currently fix them. +.SH OPTIONS +.SH "SEE ALSO" +.URL http://liw.fi/larch/ |