From e343a824998dbbe7571e4d7b8dbb0f635e4c5006 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 15 Feb 2022 23:16:33 -0800 Subject: [PATCH] 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 --- tools/modinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.47.3