]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
tools/rmmod: tweak --force help message
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Sep 2024 15:49:08 +0000 (16:49 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 21 Sep 2024 15:53:12 +0000 (10:53 -0500)
Drop the kernel configuration details - the CONFIG toggle name is more
useful (since you can see it in /proc/config.*) and generally the part
is better suited for the manual page.

Move DANGEROUS at the front, so it's obvious from the start

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/138
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/rmmod.c

index 812e54eceb12e2adc0eb2f779add8367a22a3edc..6b924ab1a096fd39e33a8eedc01fca99f5077d69 100644 (file)
@@ -41,9 +41,8 @@ static void help(void)
        printf("Usage:\n"
                "\t%s [options] modulename ...\n"
                "Options:\n"
-               "\t-f, --force       forces a module unload and may crash your\n"
-               "\t                  machine. This requires Forced Module Removal\n"
-               "\t                  option in your kernel. DANGEROUS\n"
+               "\t-f, --force       DANGEROUS: forces a module unload and may\n"
+               "\t                  crash your machine\n"
                "\t-s, --syslog      print to syslog, not stderr\n"
                "\t-v, --verbose     enables more messages\n"
                "\t-V, --version     show version\n"