2 .\" Copyright (C) 2007, 2008 Richard Kettlewell
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
9 .\" This program is distributed in the hope that it will be useful, but
10 .\" WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 .\" General Public License for more details.
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19 .TH disorder-dbupgrade 8
21 disorder\-dbupgrade \- DisOrder Database Upgrader
23 .B disorder\-dbupgrade
27 .B disorder\-dbupgrade
28 is DisOrder's database upgrader.
29 It is invoked by DisOrder when necessary and does not normally need to
33 .B \-\-delete\-bad\-keys\fR, \-x
34 If invalid keys are found in the database then delete them.
39 .B \-\-fail\-bad\-keys\fR, \-X
40 If invalid keys are found in the database then fail.
45 .B \-\-config \fIPATH\fR, \fB\-c \fIPATH
46 Set the configuration file.
48 .B \-\-debug\fR, \fB\-d
53 This is the default if stderr is not a terminal.
57 This is the default if stderr is a terminal.
59 .B \-\-help\fR, \fB\-h
60 Display a usage message.
62 .B \-\-version\fR, \fB\-V
63 Display version number.
65 An invalid key is one that is not valid UTF-8 or cannot be converted
66 to NFC for some reason.
67 By default a warning message is issued and they are left in the
68 database (if doing so will not compromise its integrity).
71 option can be used to delete them if they are known to be harmless.
73 \fBdisorderd\fR(8), \fBdisorder_config\fR(5)