summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/testdb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index abbc62f1..e521e6b3 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -183,9 +183,9 @@ int check_syncdbs(char *dbpath, alpm_list_t *dbnames) {
void usage() {
fprintf(stderr, "usage:\n");
- fprintf(stderr,
+ fprintf(stderr,
"\t%s [-b <pacman db>] : check the local database\n", BASENAME);
- fprintf(stderr,
+ fprintf(stderr,
"\t%s [-b <pacman db>] core extra ... : check the listed sync databases\n", BASENAME);
exit(1);
}
@@ -224,10 +224,8 @@ int main(int argc, char **argv)
alpm_option_set_dbpath(dbpath);
if(!dbnames) {
- printf("Checking the integrity of the local database in %s\n",dbpath);
ret = check_localdb(dbpath);
} else {
- printf("Checking the integrity of the sync databases in %s\n",dbpath);
ret = check_syncdbs(dbpath,dbnames);
}