summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2022-02-15 23:16:33 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2022-02-20 20:58:11 -0800
commite343a824998dbbe7571e4d7b8dbb0f635e4c5006 (patch)
treee41e4480b3046f713c27f64ccfcd2387a64f9a98
parent9becaaea25f486d7b0d8237f3d9548c024a9af8f (diff)
downloadkmod-e343a824998dbbe7571e4d7b8dbb0f635e4c5006.tar.gz
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 <mcgrof@kernel.org>
-rw-r--r--tools/modinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/modinfo.c b/tools/modinfo.c
index f6a971f..f51b7e4 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] <modulename|filename> [args]\n"
"Options:\n"
"\t-a, --author Print only 'author'\n"
"\t-d, --description Print only 'description'\n"