summaryrefslogtreecommitdiff
path: root/src/fix.c
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-06-27 15:28:49 -0400
committerTimo Teräs <timo.teras@iki.fi>2013-06-28 13:49:39 +0300
commitbfa39f6bf6107952b73c21a079129bc55b39a53f (patch)
tree269c1bfa7c134c1ce9328c5a87fabdd213596748 /src/fix.c
parentfbc4d912ab65102b7c98fa361d9df52bf01557d0 (diff)
downloadapk-tools-bfa39f6bf6107952b73c21a079129bc55b39a53f.tar.gz
apk-tools-bfa39f6bf6107952b73c21a079129bc55b39a53f.tar.bz2
apk-tools-bfa39f6bf6107952b73c21a079129bc55b39a53f.tar.xz
apk-tools-bfa39f6bf6107952b73c21a079129bc55b39a53f.zip
fix: improve usage
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'src/fix.c')
-rw-r--r--src/fix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fix.c b/src/fix.c
index 4672813..3a7a8e6 100644
--- a/src/fix.c
+++ b/src/fix.c
@@ -86,8 +86,8 @@ static int fix_main(void *pctx, struct apk_database *db, struct apk_string_array
static struct apk_option fix_options[] = {
{ 'd', "depends", "Fix all dependencies too" },
- { 'u', "upgrade", "Upgrade package if possible" },
- { 'r', "reinstall", "Reinstall the package" },
+ { 'r', "reinstall", "Reinstall the package (default)" },
+ { 'u', "upgrade", "Prefer to upgrade package" },
{ 0x10000, "directory-permissions", "Reset all directory permissions" },
};