]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
tools/insmod: args -> module options
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 Sep 2024 13:23:13 +0000 (14:23 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 9 Oct 2024 04:01:50 +0000 (23:01 -0500)
Align the help message with the manual page, swapping the ambiguous
"args" with module options.

Reference: https://lore.kernel.org/linux-modules/ZvknyLKvQeBo16n9@meinfjell.helgefjelltest.de
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/164
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/insmod.c

index f1a8d89e8372d4e615822654bfee511450b5b43f..02eea9130da07d162c57a13e49f21a8853062ec4 100644 (file)
@@ -30,7 +30,7 @@ static const struct option cmdopts[] = {
 static void help(void)
 {
        printf("Usage:\n"
-              "\t%s [options] filename [args]\n"
+              "\t%s [options] filename [module options]\n"
               "Options:\n"
               "\t-f, --force       DANGEROUS: forces a module load, may cause\n"
               "\t                  data corruption and crash your machine\n"