man: some options take an argument, mention that

For example modinfo -F requires the field name, although the
documentation was missing the "field".

Similarly modprobe has omissions, so let's fix those as well.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
Emil Velikov 2024-07-08 14:43:12 +01:00 committed by Lucas De Marchi
parent e971579bba
commit 2b5c56c430
3 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ rather than the current kernel version (as returned by *uname -r*).
assumption can break especially when additionally updated third party
drivers are not correctly installed or were built incorrectly.
*-E*, *--symvers*
*-E*, *--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

View File

@ -31,8 +31,8 @@ architecture.
*-V*, *--version*
Print the *modinfo* version.
*-F*, *--field*
Only print this field value, one per line. This is most useful for
*-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

View File

@ -55,7 +55,7 @@ database.
configuration files (if any) to module names as well. It is usually used
by *udev*(7).
*-C*, *--config*
*-C* _directory_, *--config* _directory_
This option overrides the default configuration directory
(/etc/modprobe.d).
@ -151,14 +151,14 @@ database.
require it. Your distribution kernel may not have been built to support
removal of modules at all.
*-w*, *--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*, *--set-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).