mirror of
https://github.com/pygos/pkg-utils.git
synced 2024-11-24 21:40:43 +01:00
Fix buildstrategy command argument handlin
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
680b1bb7f9
commit
48d74777e7
1 changed files with 3 additions and 3 deletions
|
@ -116,8 +116,8 @@ fail:
|
|||
/*****************************************************************************/
|
||||
|
||||
static const struct option long_opts[] = {
|
||||
{ "provides", no_argument, NULL, 'p' },
|
||||
{ "depends", no_argument, NULL, 'd' },
|
||||
{ "provides", required_argument, NULL, 'p' },
|
||||
{ "depends", required_argument, NULL, 'd' },
|
||||
{ NULL, 0, NULL, 0 },
|
||||
};
|
||||
|
||||
|
@ -156,7 +156,7 @@ static int process_args(int argc, char **argv)
|
|||
}
|
||||
|
||||
if (hash_table_init(&tbl_provides, 1024))
|
||||
return EXIT_FAILURE;
|
||||
return -1;
|
||||
|
||||
if (hash_table_init(&tbl_sourcepkgs, 1024))
|
||||
goto fail_provides;
|
||||
|
|
Loading…
Reference in a new issue