5 int main(int ac, char **av){
11 fprintf(stderr, "usage: db path\n");
15 /* this is really just read env */
16 zpm_readopts(&pkg, ac, av);
18 if (zpm_open(&pkg, av[1])) {
20 for (i=2; i<ac; i++) {
21 if (zpm_import(&pkg, av[2], 0, hash)) {
22 fprintf(stdout, "%s\n", hash);
23 // zpm_addtopackage(&pkg, hash, 0);
24 //fprintf(stdout, "%s %s\n", hash, av[2]);
32 fprintf(stderr, "failed to open database %s\n", av[1]);