From: Emil Velikov Date: Wed, 18 Sep 2024 15:49:08 +0000 (+0100) Subject: tools/rmmod: tweak --force help message X-Git-Tag: v34~317 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9d2cb67c1ac361759bfd4751140c97ba5560339d;p=thirdparty%2Fkmod.git tools/rmmod: tweak --force help message 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 Link: https://github.com/kmod-project/kmod/pull/138 Signed-off-by: Lucas De Marchi --- diff --git a/tools/rmmod.c b/tools/rmmod.c index 812e54ec..6b924ab1 100644 --- a/tools/rmmod.c +++ b/tools/rmmod.c @@ -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"