From e91f5bf832a6b8e7d3431ae22cd63acb65cb7a9c Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 9 Sep 2024 01:50:29 -0500 Subject: [PATCH] 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 --- tools/depmod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" -- 2.47.3