From 8816cd11aa61010efb3a2feec6701503d10a016b Mon Sep 17 00:00:00 2001 From: Ricardo Branco Date: Sun, 9 Nov 2025 14:57:53 +0000 Subject: [PATCH] man: drop optional qualifiers for file/modulename 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 [Emil: drop kmod hunk, squash + commit message] Signed-off-by: Emil Velikov Reviewed-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/pull/400 Signed-off-by: Lucas De Marchi --- man/insmod.8.scd | 2 +- man/modinfo.8.scd | 2 +- man/modprobe.8.scd | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/man/insmod.8.scd b/man/insmod.8.scd index ec53f8fb..103d9360 100644 --- a/man/insmod.8.scd +++ b/man/insmod.8.scd @@ -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 diff --git a/man/modinfo.8.scd b/man/modinfo.8.scd index 5d66fac4..aefcee08 100644 --- a/man/modinfo.8.scd +++ b/man/modinfo.8.scd @@ -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* diff --git a/man/modprobe.8.scd b/man/modprobe.8.scd index aaf04c34..2e0f3949 100644 --- a/man/modprobe.8.scd +++ b/man/modprobe.8.scd @@ -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 -- 2.47.3