]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools: use space for long opts
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2025 12:26:07 +0000 (12:26 +0000)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 25 Mar 2025 19:08:08 +0000 (14:08 -0500)
commit0e5b3b7910c182f6fa0c1fcb0dab0aafbc5d37dd
tree81e579b63c1412418af1826f6a79d7d76abdd423
parent92f8dc3526008510298bd9bb8c74e0356a9a6e9c
tools: use space for long opts

The getopt_long() API handles both space and = separated long options
just fine. On the other hand, supporting both in the shell completions
means that we'll have to quadruple them in terms of size/complexity.

So let's try to keep things simple and consistent, by recommending only
the space variant.

Make sure to update both the tools' --help and the respective man pages.

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