]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man: drop optional qualifiers for file/modulename
authorRicardo Branco <rbranco@suse.de>
Sun, 9 Nov 2025 14:57:53 +0000 (14:57 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Tue, 3 Feb 2026 04:59:03 +0000 (22:59 -0600)
Most tools don't consider the file/module name as optional, so we can
drop the square brackets denoting so.

Mind you, if we want to be extra pedantic - it is not required for
--help, --version et al. Although that should be obvious, as we are
(starting to) simplify yet enhance the documentation.

Signed-off-by: Ricardo Branco <rbranco@suse.de>
[Emil: drop kmod hunk, squash + commit message]
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/insmod.8.scd
man/modinfo.8.scd
man/modprobe.8.scd

index ec53f8fb83abb25569082d26b562ee0f2358c2d5..103d936023bdc87cbdddc4c86769b5e77206624a 100644 (file)
@@ -6,7 +6,7 @@ insmod - Simple program to insert a module into the Linux Kernel
 
 # SYNOPSIS
 
-*insmod* [_OPTIONS_] [_filename_] [_module options_]
+*insmod* [_OPTIONS_] _filename_ [_module options_]
 
 # DESCRIPTION
 
index 5d66fac4f520ee1189741d71283d6a48d94e7d2a..aefcee0837ef5db7985fedb69eb2cfe395265a7d 100644 (file)
@@ -6,7 +6,7 @@ modinfo - Show information about a Linux Kernel module
 
 # SYNOPSIS
 
-*modinfo* [*-0*] [*-F* _field_] [*-k* _kernel_] [modulename|filename...]
+*modinfo* [*-0*] [*-F* _field_] [*-k* _kernel_] modulename|filename...
 
 *modinfo* *-V*
 
index aaf04c343bbebce2e1d35d50a30438d617a871dd..2e0f3949585770d06f3d20f771b4e464bc82bf12 100644 (file)
@@ -6,14 +6,14 @@ modprobe - Add and remove modules from the Linux Kernel
 
 # SYNOPSIS
 
-*modprobe* [*-v*] [*-V*] [*-C* _config-file_] [*-n*] [*-i*] [*-q*] [*-b*] [_modulename_]
+*modprobe* [*-v*] [*-V*] [*-C* _config-file_] [*-n*] [*-i*] [*-q*] [*-b*] _modulename_
 \ \ \ \ \ \ \ \ \ \[_module parameters_...]
 
-*modprobe* [*-r*] [*-v*] [*-n*] [*-i*] [_modulename_...]
+*modprobe* [*-r*] [*-v*] [*-n*] [*-i*] _modulename_...
 
 *modprobe* [*-c*]
 
-*modprobe* [*--show-modversions*] [_filename_]
+*modprobe* [*--show-modversions*] _filename_
 
 # DESCRIPTION