summaryrefslogtreecommitdiff
path: root/src/app_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_add.c')
-rw-r--r--src/app_add.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/app_add.c b/src/app_add.c
index f5edae0..1e1fe00 100644
--- a/src/app_add.c
+++ b/src/app_add.c
@@ -54,7 +54,7 @@ static const struct apk_option options_applet[] = {
{ 0x10001, "no-chown" },
{ 'u', "upgrade" },
{ 'l', "latest" },
- { 't', "virtual", required_argument, "NAME" },
+ { 't', "virtual", required_argument },
};
static const struct apk_option_group optgroup_applet = {
@@ -204,9 +204,7 @@ static int add_main(void *ctx, struct apk_database *db, struct apk_string_array
static struct apk_applet apk_add = {
.name = "add",
- .arguments = "PACKAGE...",
.open_flags = APK_OPENF_WRITE,
- .command_groups = APK_COMMAND_GROUP_INSTALL,
.context_size = sizeof(struct add_ctx),
.optgroups = { &optgroup_global, &optgroup_commit, &optgroup_applet },
.main = add_main,