diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app_add.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app_add.c b/src/app_add.c index 345fd7a..214bf67 100644 --- a/src/app_add.c +++ b/src/app_add.c @@ -147,6 +147,8 @@ static int add_main(void *ctx, struct apk_ctx *ac, struct apk_string_array *args virtdep.result_mask = APK_VERSION_EQUAL; virtdep.version = virtpkg->version; + + if (!args->num) apk_warn(out, "creating empty virtual package"); } foreach_array_item(parg, args) { |