version 1.47, 2000/08/21 22:49:12
|
version 1.48, 2000/08/22 11:00:24
|
Line 67 int rpmfindMode = RPM_FIND_LOOKUP;
|
Line 67 int rpmfindMode = RPM_FIND_LOOKUP;
|
int rpmfindMirrorUpgrade = 1; |
int rpmfindMirrorUpgrade = 1; |
int rpmfindUseOrigin = 0; |
int rpmfindUseOrigin = 0; |
char *rpmfindTempDir = NULL; |
char *rpmfindTempDir = NULL; |
|
int rpmfindCheckRelease = 1; /* On by default */ |
|
|
/* |
/* |
* Ftp informations |
* Ftp informations |
Line 1838 int main(int argc, char **argv) {
|
Line 1839 int main(int argc, char **argv) {
|
rpmfindOverwrite = 1; |
rpmfindOverwrite = 1; |
} else if (!strcmp(argv[i], "--nooverwrite")) { |
} else if (!strcmp(argv[i], "--nooverwrite")) { |
rpmfindOverwrite = 0; |
rpmfindOverwrite = 0; |
|
} else if (!strcmp(argv[i], "--checkrelease")) { |
|
rpmfindCheckRelease = 1; |
} else if (!strcmp(argv[i], "--dist")) { |
} else if (!strcmp(argv[i], "--dist")) { |
i++; |
i++; |
rpmfindSetDistrib(argv[i]); |
rpmfindSetDistrib(argv[i]); |
Line 1875 int main(int argc, char **argv) {
|
Line 1878 int main(int argc, char **argv) {
|
printf("\t--apropos\tdo a lookup in the database for the keyword\n"); |
printf("\t--apropos\tdo a lookup in the database for the keyword\n"); |
printf("\t--[no]auto\tdo [not] run in automatic mode\n"); |
printf("\t--[no]auto\tdo [not] run in automatic mode\n"); |
printf("\t--[no]overwrite\tdo [not] run in overwrite mode\n"); |
printf("\t--[no]overwrite\tdo [not] run in overwrite mode\n"); |
|
printf("\t--checkrelease\tcheck release when compare packages\n"); |
printf("\t--dist distname\tallows packages only that distribution\n"); |
printf("\t--dist distname\tallows packages only that distribution\n"); |
if (configNeedUpdate) rpmFindWriteConfigFile(); |
if (configNeedUpdate) rpmFindWriteConfigFile(); |
exit(0); |
exit(0); |