]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
depmod: Rewrite basedir/moduledir/outputdir/ help
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 9 Sep 2024 06:50:29 +0000 (01:50 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 10 Sep 2024 18:25:46 +0000 (13:25 -0500)
Follow the same logic for all of them: short help message about
what the option is and default value inside parenthesis.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/100
tools/depmod.c

index e10da6850137d2cc7aab613d26a49dfe88dda4df..fde91d67fff1a1386e94e6e3575909dc72a7003d 100644 (file)
@@ -93,9 +93,9 @@ static void help(void)
                "\t-h, --help           show this help\n"
                "\n"
                "The following options are useful for people managing distributions:\n"
-               "\t-b, --basedir=DIR    Use an image of a module tree.\n"
-               "\t-m, --moduledir=DIR  Override MODULE_DIRECTORY.\n"
-               "\t-o, --outdir=DIR     Output directory for generated files.\n"
+               "\t-b, --basedir=DIR    Root path (default: /).\n"
+               "\t-m, --moduledir=DIR  Module directory (default: " MODULE_DIRECTORY ").\n"
+               "\t-o, --outdir=DIR     Output root path (default: same as <basedir>).\n"
                "\t-F, --filesyms=FILE  Use the file instead of the\n"
                "\t                     current kernel symbols.\n"
                "\t-E, --symvers=FILE   Use Module.symvers file to check\n"