summaryrefslogtreecommitdiff
path: root/src/fetch.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/fetch.c
parent20a1217e866f9fe15c4de3ed28144084509e4ffa (diff)
downloadapk-tools-61213c401886884b73406c0e536b2f5ee97425e1.tar.gz
apk-tools-61213c401886884b73406c0e536b2f5ee97425e1.tar.bz2
apk-tools-61213c401886884b73406c0e536b2f5ee97425e1.tar.xz
apk-tools-61213c401886884b73406c0e536b2f5ee97425e1.zip
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/fetch.c')
-rw-r--r--src/fetch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 826dc73..049c3ef 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -193,7 +193,8 @@ static struct option fetch_options[] = {
static struct apk_applet apk_fetch = {
.name = "fetch",
- .usage = "[-R|--recursive|--stdout] [--link|-L] [-o dir] apkname...",
+ .usage = "[-R|--recursive|--stdout] [-L|--link] [-o|--output DIR]\n"
+ "\t\t PACKAGE...",
.context_size = sizeof(struct fetch_ctx),
.num_options = ARRAY_SIZE(fetch_options),
.options = fetch_options,