Introduce xbps_callback_array_iter_in_dict().
--HG-- extra : convert_revision : e0696de04df785d99ae1748a2d972a74e04c774f
This commit is contained in:
parent
742ae607c4
commit
e992ee5c83
4 changed files with 60 additions and 44 deletions
|
@ -157,7 +157,8 @@ main(int argc, char **argv)
|
|||
exit(EINVAL);
|
||||
}
|
||||
|
||||
xbps_list_strings_in_array(dict, "repository-list");
|
||||
xbps_callback_array_iter_in_dict(dict, "repository-list",
|
||||
xbps_list_strings_in_array);
|
||||
|
||||
} else if (strcmp(argv[1], "show") == 0) {
|
||||
/* Shows info about a binary package. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue