]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man/rmmod: reorder, add --help
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)
Stay consistent with the output of rmmod --help and update the
respective options.

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>
man/rmmod.8.scd

index c53fe3d7e777fa426f428e1adc527fa9508c0ada..f74925fdba2d22ffa7bfbd58d57dd22b7d3199f5 100644 (file)
@@ -6,7 +6,7 @@ rmmod - Simple program to remove a module from the Linux Kernel
 
 # SYNOPSIS
 
-*rmmod* [*-f*] [*-s*] [*-v*] [_modulename_]
+*rmmod* [_OPTIONS_] [_modulename_]
 
 # DESCRIPTION
 
@@ -16,11 +16,6 @@ is provided) from the kernel. Most users will want to use *modprobe*(8) with the
 
 # OPTIONS
 
-*-v*
-*--verbose*
-       Print messages about what the program is doing. Usually *rmmod* prints
-       messages only if something goes wrong.
-
 *-f*
 *--force*
        This option can be extremely dangerous: it has no effect unless
@@ -32,10 +27,19 @@ is provided) from the kernel. Most users will want to use *modprobe*(8) with the
 *--syslog*
        Send errors to syslog instead of standard error.
 
+*-v*
+*--verbose*
+       Print messages about what the program is doing. Usually *rmmod* prints
+       messages only if something goes wrong.
+
 *-V*
 *--version*
        Show version of program and exit.
 
+*-h*
+*--help*
+       Print the help message and exit.
+
 # COPYRIGHT
 
 This manual page originally Copyright 2002, Rusty Russell, IBM Corporation.