aboutsummaryrefslogtreecommitdiffstats
path: root/src/info.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/info.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/info.c')
-rw-r--r--src/info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/info.c b/src/info.c
index b7071a5..3b24953 100644
--- a/src/info.c
+++ b/src/info.c
@@ -266,7 +266,8 @@ static struct option info_options[] = {
static struct apk_applet apk_info = {
.name = "info",
- .usage = "",
+ .usage = "[-L|--contents] [-e|--installed] [-W|--who-owns] [-R|--depends]\n"
+ "\t\t[-r|--rdepends] PACKAGE...",
.context_size = sizeof(struct info_ctx),
.num_options = ARRAY_SIZE(info_options),
.options = info_options,