mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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>
This commit is contained in:
parent
6f97842ab2
commit
bdd8e92ff6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user