diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-08-07 15:40:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-08-18 20:42:29 -0500 |
commit | bdd8e92ff601aab44941e7572f6c48d7e32a3f24 (patch) | |
tree | 89c12ac0801ffb7578ea3ea49ba3e33a7bdc40e8 | |
parent | 6f97842ab22eb50fdc689e8aa2e95688d015fa74 (diff) | |
download | pacman-bdd8e92ff601aab44941e7572f6c48d7e32a3f24.tar.xz |
testdb : less verbose
http://bbs.archlinux.org/viewtopic.php?id=77396
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
-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); } |