From: Tobias Stoeckmann Date: Wed, 19 Feb 2025 21:13:31 +0000 (+0100) Subject: man: use = for long options X-Git-Tag: v34~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fe44cc7e3bfe88444abe51d6559c6d55cbdfe48;p=thirdparty%2Fkmod.git man: use = for long options Stay in sync with other manual pages like the ones from coreutils and the -h output of kmod tools. Signed-off-by: Tobias Stoeckmann Link: https://github.com/kmod-project/kmod/pull/287 Signed-off-by: Lucas De Marchi --- diff --git a/man/depmod.8.scd b/man/depmod.8.scd index 1cb6cfc2..4a4b51a8 100644 --- a/man/depmod.8.scd +++ b/man/depmod.8.scd @@ -46,7 +46,7 @@ rather than the current kernel version (as returned by *uname -r*). *modules.dep* file before any work is done: if not, it silently exits rather than regenerating the files. -*-b* _basedir_, *--basedir* _basedir_ +*-b* _basedir_, *--basedir*=_basedir_ Override the base directory where modules are located. If your modules are not currently in the (normal) directory @MODULE_DIRECTORY@/_version_, but in a staging area, you can specify a @@ -66,7 +66,7 @@ rather than the current kernel version (as returned by *uname -r*). _/my/build/staging/dir@MODULE_DIRECTORY@/$(uname -r)_ and generates index files under that same directory. -*-m* _moduledir_, *--moduledir* _moduledir_ +*-m* _moduledir_, *--moduledir*=_moduledir_ Override the module directory , which defaults to @MODULE_DIRECTORY@ prefix set at build time. This is useful when building *modules.dep* file in _basedir_ for a system that uses a @@ -93,7 +93,7 @@ depmod -b /tmp/build -m kernel-modules handle that arbitrary location, it won't work in runtime. -*-o* _outdir_, *--outdir* _outdir_ +*-o* _outdir_, *--outdir*=_outdir_ Set the output directory where *depmod* will store any generated file. _outdir_ serves as a root to that location, similar to how _basedir_ is used. Also this setting takes precedence and if used together with @@ -110,7 +110,7 @@ depmod -b /tmp/build -m kernel-modules _@MODULE_DIRECTORY@/$(uname -r)_ and generates index files under _/my/build/staging/dir@MODULE_DIRECTORY@/$(uname -r)_. -*-C* _file_ _or_ _directory_, *--config* _file_ _or_ _directory_ +*-C* _file_ _or_ _directory_, *--config*=_file_ _or_ _directory_ This option overrides the default configuration files. See *depmod.d*(5). @@ -122,13 +122,13 @@ depmod -b /tmp/build -m kernel-modules assumption can break especially when additionally updated third party drivers are not correctly installed or were built incorrectly. -*-E* _Module.symvers_, *--symvers* _Module.symvers_ +*-E* _Module.symvers_, *--symvers*=_Module.symvers_ When combined with the *-e* option, this reports any symbol versions supplied by modules that do not match with the symbol versions provided by the kernel in its _Module.symvers_. This option is mutually incompatible with *-F*. -*-F* _System.map_, *--filesyms* _System.map_ +*-F* _System.map_, *--filesyms*=_System.map_ Supplied with the _System.map_ produced when the kernel was built, this allows the *-e* option to report unresolved symbols. This option is mutually incompatible with *-E*. diff --git a/man/modinfo.8.scd b/man/modinfo.8.scd index c64e9c82..1244da7a 100644 --- a/man/modinfo.8.scd +++ b/man/modinfo.8.scd @@ -31,14 +31,14 @@ architecture. *-V*, *--version* Print the *modinfo* version. -*-F* _field_, *--field* _field_ +*-F* _field_, *--field*=_field_ Only print this _field_ value, one per line. This is most useful for scripts. Field names are case-insensitive. Common fields (which may not be in every module) include author, description, license, parm, depends, and alias. There are often multiple parm, alias and depends fields. The special _field_ filename lists the filename of the module. -*-b* _basedir_, *--basedir* _basedir_ +*-b* _basedir_, *--basedir*=_basedir_ Root directory for modules, / by default. *-k* _kernel_ diff --git a/man/modprobe.8.scd b/man/modprobe.8.scd index 075704d8..13738c13 100644 --- a/man/modprobe.8.scd +++ b/man/modprobe.8.scd @@ -54,7 +54,7 @@ database. configuration files (if any) to module names as well. It is usually used by *udev*(7). -*-C* _directory_, *--config* _directory_ +*-C* _directory_, *--config*=_directory_ This option overrides the default configuration directory. See *modprobe.d*(5). @@ -150,14 +150,14 @@ database. require it. Your distribution kernel may not have been built to support removal of modules at all. -*-w* _TIMEOUT_MSEC_, *--wait* _TIMEOUT_MSEC_ +*-w* _TIMEOUT_MSEC_, *--wait*=_TIMEOUT_MSEC_ This option causes *modprobe -r *to continue trying to remove a module if it fails due to the module being busy, i.e. its refcount is not 0 at the time the call is made. Modprobe tries to remove the module with an incremental sleep time between each tentative up until the maximum wait time in milliseconds passed in this option. -*-S* _version_, *--set-version* _version_ +*-S* _version_, *--set-version*=_version_ Set the kernel version, rather than using *uname*(2) to decide on the kernel version (which dictates where to find the modules).