Commit 947baeea authored by Natanael Copa's avatar Natanael Copa

fetch: fix error message for --recursive

Give error message for `apk fetch --recursive missing`
parent e2b4bde4
...@@ -229,8 +229,10 @@ static void mark_name_flags(struct apk_database *db, const char *match, struct a ...@@ -229,8 +229,10 @@ static void mark_name_flags(struct apk_database *db, const char *match, struct a
if (!IS_ERR_OR_NULL(name)) { if (!IS_ERR_OR_NULL(name)) {
name->auto_select_virtual = 1; name->auto_select_virtual = 1;
apk_deps_add(&ctx->world, &dep); apk_deps_add(&ctx->world, &dep);
} else } else {
ctx->errors++; ctx->errors++;
mark_error(ctx, match, name);
}
} }
static void mark_names_recursive(struct apk_database *db, struct apk_string_array *args, void *pctx) static void mark_names_recursive(struct apk_database *db, struct apk_string_array *args, void *pctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment