diff options
author | Dan McGee <dan@archlinux.org> | 2009-08-19 03:49:25 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-08-19 03:49:25 +0200 |
commit | 92f0775e76c75ebe9e30355cc99bb40cf365abcb (patch) | |
tree | 6268a6ce1457109bf5878d3aa66bfbf3a5c5afe2 /src/util | |
parent | 7dae79e7b95c517df136003728363dc9ad346a7e (diff) | |
parent | bdd8e92ff601aab44941e7572f6c48d7e32a3f24 (diff) | |
download | pacman-92f0775e76c75ebe9e30355cc99bb40cf365abcb.tar.gz pacman-92f0775e76c75ebe9e30355cc99bb40cf365abcb.tar.xz |
Merge branch 'maint'
Conflicts:
lib/libalpm/dload.c
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/testdb.c | 6 |
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); } |