]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man: use = for long options
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 19 Feb 2025 21:13:31 +0000 (22:13 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 21 Feb 2025 19:49:01 +0000 (13:49 -0600)
Stay in sync with other manual pages like the ones from coreutils
and the -h output of kmod tools.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/287
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
man/depmod.8.scd
man/modinfo.8.scd
man/modprobe.8.scd

index 1cb6cfc2d2855297e65ee9d7b2d593b8c7420603..4a4b51a8ea145f1e58ebc027f969172a87f1b0a2 100644 (file)
@@ -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 <BASEDIR> 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 <MODULEDIR>, 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*.
index c64e9c824097d432c2b45f2f2a2598b8ddde4f8d..1244da7a28b764adf6aeb342a30b26e12f724596 100644 (file)
@@ -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_
index 075704d8bae30c19b4fb08b870cf6a07f21380e7..13738c135845cb5ce329f8070451402dac7761ec 100644 (file)
@@ -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).