summaryrefslogtreecommitdiffstats
path: root/src/add.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-19 15:40:37 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-19 15:40:37 +0200
commit61213c401886884b73406c0e536b2f5ee97425e1 (patch)
tree1f9eccef792182e03adf39cfe4d6ed09471b4036 /src/add.c
parent20a1217e866f9fe15c4de3ed28144084509e4ffa (diff)
downloadapk-tools-61213c401886884b73406c0e536b2f5ee97425e1.tar.bz2
apk-tools-61213c401886884b73406c0e536b2f5ee97425e1.tar.xz
improve --help output
apk --help will list the generic options only and give a list of commands To get the details for a spefic command, 'apk command --help' should be used.
Diffstat (limited to 'src/add.c')
-rw-r--r--src/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add.c b/src/add.c
index 43e6340..91f9380 100644
--- a/src/add.c
+++ b/src/add.c
@@ -182,7 +182,7 @@ static struct option add_options[] = {
static struct apk_applet apk_add = {
.name = "add",
- .usage = "[--initdb] [--upgrade|-u] [--virtual metaname] apkname...",
+ .usage = "[--initdb] [-u|--upgrade] [-t|--virtual NAME] PACKAGE...",
.context_size = sizeof(struct add_ctx),
.num_options = ARRAY_SIZE(add_options),
.options = add_options,