From: Lucas De Marchi Date: Wed, 16 Feb 2022 07:16:33 +0000 (-0800) Subject: modinfo: Update help message with "modulename" X-Git-Tag: v30~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e343a824998dbbe7571e4d7b8dbb0f635e4c5006;p=thirdparty%2Fkmod.git modinfo: Update help message with "modulename" man page correctly states the a module name can be used in place of a file name: modinfo [-0] [-F field] [-k kernel] [modulename|filename...] Update the help message accordingly. Reviewed-by: Luis Chamberlain --- diff --git a/tools/modinfo.c b/tools/modinfo.c index f6a971fa..f51b7e4b 100644 --- a/tools/modinfo.c +++ b/tools/modinfo.c @@ -337,7 +337,7 @@ static const struct option cmdopts[] = { static void help(void) { printf("Usage:\n" - "\t%s [options] filename [args]\n" + "\t%s [options] [args]\n" "Options:\n" "\t-a, --author Print only 'author'\n" "\t-d, --description Print only 'description'\n"