diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-16 17:31:38 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-26 09:03:18 +0200 |
commit | b62d252b7b51cd4ca8030577849842b07e1913fb (patch) | |
tree | 657a053d882c5d642e3700862fc65795c5d22152 /src/upgrade.c | |
parent | 5b6c6e3573f241b19a174ea74d8258f4b547d860 (diff) | |
download | apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.gz apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.bz2 apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.xz apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.zip |
Update apk to make man pages sole source of truth
Detailed docs have been removed from the apk binaries, in favor of
git-style short summaries of each command.
Diffstat (limited to 'src/upgrade.c')
-rw-r--r-- | src/upgrade.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/upgrade.c b/src/upgrade.c index d1ec36c..f0bf16c 100644 --- a/src/upgrade.c +++ b/src/upgrade.c @@ -52,19 +52,11 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt } static const struct apk_option options_applet[] = { - { 'a', "available", - "Resets versioned world dependencies, and changes to prefer " - "replacing or downgrading packages (instead of holding them) " - "if the currently installed package is no longer available " - "from any repository" }, - { 'l', "latest", - "Select latest version of package (if it is not pinned), and " - "print error if it cannot be installed due to other dependencies" }, - { 0x10000, "no-self-upgrade", - "Do not do early upgrade of 'apk-tools' package" }, - { 0x10001, "self-upgrade-only", "Only do self-upgrade" }, - { 0x10002, "ignore", "Ignore the upgrade of PACKAGE. Partial " - "upgrades not supported, this might break your system."}, + { 'a', "available" }, + { 'l', "latest" }, + { 0x10000, "no-self-upgrade" }, + { 0x10001, "self-upgrade-only" }, + { 0x10002, "ignore" }, }; static const struct apk_option_group optgroup_applet = { @@ -195,7 +187,6 @@ static int upgrade_main(void *ctx, struct apk_database *db, struct apk_string_ar 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), |