]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
modinfo: Update help message with "modulename"
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 16 Feb 2022 07:16:33 +0000 (23:16 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 21 Feb 2022 04:58:11 +0000 (20:58 -0800)
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>
tools/modinfo.c

index f6a971fa40f74dc26bf2eae74dc472cf7928e854..f51b7e4b9455e869cd8224bbe8275e21f91d1ad2 100644 (file)
@@ -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"