From 61213c401886884b73406c0e536b2f5ee97425e1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 19 Jun 2009 15:40:37 +0200 Subject: 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. --- src/info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/info.c') 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, -- cgit v1.2.3