]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
modprobe: unify help output
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 19 Feb 2025 21:21:48 +0000 (22:21 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 21 Feb 2025 19:49:01 +0000 (13:49 -0600)
Add = to modprobe help output for --wait to comply with all other long
option descriptions.

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>
tools/modprobe.c

index b1e4ae95ee399b38fba4df8b3947b138f892aca9..b172e97e4876872e57a23e65b7f1c91f5c6cb3c2 100644 (file)
@@ -102,7 +102,7 @@ static void help(void)
               "\t-r, --remove                Remove modules instead of inserting\n"
               "\t    --remove-dependencies   Deprecated: use --remove-holders\n"
               "\t    --remove-holders        Also remove module holders (use together with -r)\n"
-              "\t-w, --wait <MSEC>           When removing a module, wait up to MSEC for\n"
+              "\t-w, --wait=<MSEC>           When removing a module, wait up to MSEC for\n"
               "\t                            module's refcount to become 0 so it can be\n"
               "\t                            removed (use together with -r)\n"
               "\t    --first-time            Fail if module already inserted or removed\n"