]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
rmmod: s/list of modulenames/modulenames/
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 9 Nov 2025 21:11:50 +0000 (21:11 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:03 +0000 (22:59 -0600)
Drop the "list of" part - we are already (somewhat) consistently using
modulenames across the tree.

While in here, also drop the square brackets - the modulename(s) is not
an optional argument.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/pull/400
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
man/rmmod.8.scd
tools/rmmod.c

index 2f6bd56c71ed5073a6a7ac1d63a609c6a76f52c7..d4c226282e95013b659eb524757a01924a027c62 100644 (file)
@@ -6,7 +6,7 @@ rmmod - Simple program to remove a module from the Linux Kernel
 
 # SYNOPSIS
 
-*rmmod* [_OPTIONS_] [_list of modulenames_]
+*rmmod* [_OPTIONS_] _modulenames_
 
 # DESCRIPTION
 
index 61f2e008a48ce8409a484999d3e3a7c6ffb9a7b2..62c07894e38fec7f4f0cd1a86da23474f8dff5a1 100644 (file)
@@ -36,7 +36,7 @@ static const struct option cmdopts[] = {
 static void help(void)
 {
        printf("Usage:\n"
-              "\t%s [options] [list of modulenames]\n"
+              "\t%s [options] modulenames\n"
               "Options:\n"
               "\t-f, --force       DANGEROUS: forces a module unload and may\n"
               "\t                  crash your machine\n"