summaryrefslogtreecommitdiff
path: root/src/add.c
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-06-27 15:28:46 -0400
committerTimo Teräs <timo.teras@iki.fi>2013-06-28 13:45:41 +0300
commitac7616b0a9e4a4eaf640cd59a98cda01773c57ac (patch)
treee333508102823ac0621501f42524752d3a88e1de /src/add.c
parentfcb540ab6978d3d5a55f08120c78d8e03b1e13c7 (diff)
downloadapk-tools-ac7616b0a9e4a4eaf640cd59a98cda01773c57ac.tar.gz
apk-tools-ac7616b0a9e4a4eaf640cd59a98cda01773c57ac.tar.bz2
apk-tools-ac7616b0a9e4a4eaf640cd59a98cda01773c57ac.tar.xz
apk-tools-ac7616b0a9e4a4eaf640cd59a98cda01773c57ac.zip
various: applet help text and comment fixes
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'src/add.c')
-rw-r--r--src/add.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/add.c b/src/add.c
index 08fbf37..16e8dd1 100644
--- a/src/add.c
+++ b/src/add.c
@@ -154,14 +154,15 @@ static struct apk_option add_options[] = {
{ 'u', "upgrade", "Prefer to upgrade package" },
{ 't', "virtual",
"Instead of adding all the packages to 'world', create a new virtual "
- "package with the listed dependencies and add that to 'world'. The "
+ "package with the listed dependencies and add that to 'world'; the "
"actions of the command are easily reverted by deleting the virtual "
"package", required_argument, "NAME" },
};
static struct apk_applet apk_add = {
.name = "add",
- .help = "Add/update PACKAGEs to main dependencies and install them",
+ .help = "Add PACKAGEs to main dependencies and install (or upgrade) "
+ "them, while ensuring that all dependencies are met",
.arguments = "PACKAGE...",
.open_flags = APK_OPENF_WRITE,
.context_size = sizeof(struct add_ctx),