xbps_configure_pkg: simplify and remove "version" arg (API change).

The "version" argument (being optional) clearly is not needed and it
can be fully removed. This simplifies the internal implementation as well
as the API.
This commit is contained in:
Juan RP
2012-04-10 10:02:27 +02:00
parent ef6d1adf91
commit bfe7ab1c5a
4 changed files with 33 additions and 47 deletions

View File

@ -373,7 +373,7 @@ main(int argc, char **argv)
if (strcasecmp(argv[1], "all") == 0)
rv = xbps_configure_packages(true);
else
rv = xbps_configure_pkg(argv[1], NULL, true, false, true);
rv = xbps_configure_pkg(argv[1], true, false, true);
} else if (strcasecmp(argv[0], "show-deps") == 0) {
/*