From: Lucas De Marchi Date: Mon, 9 Sep 2024 06:50:29 +0000 (-0500) Subject: depmod: Rewrite basedir/moduledir/outputdir/ help X-Git-Tag: v34~377 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e91f5bf832a6b8e7d3431ae22cd63acb65cb7a9c;p=thirdparty%2Fkmod.git depmod: Rewrite basedir/moduledir/outputdir/ help 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 Link: https://github.com/kmod-project/kmod/pull/100 --- diff --git a/tools/depmod.c b/tools/depmod.c index e10da685..fde91d67 100644 --- a/tools/depmod.c +++ b/tools/depmod.c @@ -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 ).\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"