[PATCH 1/3] modprobe-small: document '-n' in depmod usage

Kang-Che Sung explorer09 at gmail.com
Thu Feb 9 14:48:50 UTC 2017


Signed-off-by: Kang-Che Sung <explorer09 at gmail.com>
---
 modutils/modprobe-small.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index 431b8aeb2..41fd89172 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -893,8 +894,11 @@ The following options are useful for people managing distributions:
 
 //usage:#if ENABLE_MODPROBE_SMALL
 
-//usage:#define depmod_trivial_usage NOUSAGE_STR
-//usage:#define depmod_full_usage ""
+//usage:#define depmod_trivial_usage "[-n]"
+//usage:#define depmod_full_usage "\n\n"
+//usage:       "Generate modules.dep.bb"
+//usage:     "\n"
+//usage:     "\n	-n	Dry run: print file to stdout"
 
 //usage:#define insmod_trivial_usage
 //usage:	"FILE" IF_FEATURE_CMDLINE_MODULE_OPTIONS(" [SYMBOL=VALUE]...")
-- 
2.11.0



More information about the busybox mailing list