]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools/modprobe: standardize on --show-foo, deprecate the rest
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 30 May 2025 18:11:48 +0000 (19:11 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 13 Jun 2025 18:52:41 +0000 (13:52 -0500)
commit200c7b32f3442f769f1dcd67f8a9cf549e206214
tree3a61ed8bb39f923052c53595497ba43054b2d51a
parentf9ecaf7e1fe3efff9c23594864923a3482cc975d
tools/modprobe: standardize on --show-foo, deprecate the rest

Currently we have a range of options which show specific details,
although they vary in prefix or spelling:
 - prefix: dump vs resolve vs show
 - with and without dash after show

Converge on --show-foo and deprecate the rest. The old options are still
accepted but will throw a warning. Only the (new) consistent names are
listed in --help, while the manual page lists both but spells out that
the old ones will be removed.

To avoid any confusion with --show (aka --dry-run) the option is also
soft-deprecated.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/353
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
man/modprobe.8.scd
tools/modprobe.c