diff mbox series

[7/8] modinfo: Update help message with "modulename"

Message ID 20220216075533.185693-8-lucas.demarchi@intel.com (mailing list archive)
State New, archived
Headers show
Series Random fixes + modinfo --modname | expand

Commit Message

Lucas De Marchi Feb. 16, 2022, 7:55 a.m. UTC
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.
---
 tools/modinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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"