From bdd8e92ff601aab44941e7572f6c48d7e32a3f24 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Fri, 7 Aug 2009 15:40:21 +0200 Subject: testdb : less verbose http://bbs.archlinux.org/viewtopic.php?id=77396 Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- src/util/testdb.c | 6 ++---- 1 file 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 ] : check the local database\n", BASENAME); - fprintf(stderr, + fprintf(stderr, "\t%s [-b ] 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); } -- cgit v1.2.3-70-g09d2