diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-01-09 01:47:21 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-01-09 17:07:13 +0000 |
commit | abf7c2838bc09bf515b7c2f0f6f631786b3e7c08 (patch) | |
tree | cee8942d9a95afbfba3d6f6d30ef36fba4b4f51c /src/upgrade.c | |
parent | 118f29c895b15993155a2cd825403ea65a606018 (diff) | |
download | apk-tools-abf7c2838bc09bf515b7c2f0f6f631786b3e7c08.tar.gz apk-tools-abf7c2838bc09bf515b7c2f0f6f631786b3e7c08.tar.bz2 apk-tools-abf7c2838bc09bf515b7c2f0f6f631786b3e7c08.tar.xz apk-tools-abf7c2838bc09bf515b7c2f0f6f631786b3e7c08.zip |
apk: usage: cleanup help text when no applet is selected
Diffstat (limited to 'src/upgrade.c')
-rw-r--r-- | src/upgrade.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/upgrade.c b/src/upgrade.c index f5fcb41..14457b5 100644 --- a/src/upgrade.c +++ b/src/upgrade.c @@ -182,6 +182,7 @@ static struct apk_applet apk_upgrade = { .name = "upgrade", .help = "Upgrade currently installed packages to match repositories", .open_flags = APK_OPENF_WRITE, + .command_groups = APK_COMMAND_GROUP_SYSTEM, .context_size = sizeof(struct upgrade_ctx), .optgroups = { &optgroup_global, &optgroup_commit, &optgroup_applet }, .main = upgrade_main, |