diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-19 15:40:37 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-19 15:40:37 +0200 |
commit | 61213c401886884b73406c0e536b2f5ee97425e1 (patch) | |
tree | 1f9eccef792182e03adf39cfe4d6ed09471b4036 /src/info.c | |
parent | 20a1217e866f9fe15c4de3ed28144084509e4ffa (diff) | |
download | apk-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |