diff options
author | Pascal Bellard | 2010-06-07 01:16:45 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-06-07 01:18:53 +0200 |
commit | b82b34e06d0f8b91a1a30a847e0b1dd80ed0a046 (patch) | |
tree | 17527de763a7e688023cb72a8ead602293b3b7b9 /modutils/modprobe-small.c | |
parent | e3657dcdd655ec96fc6bf38c40dd6a6f015a83de (diff) | |
download | busybox-b82b34e06d0f8b91a1a30a847e0b1dd80ed0a046.zip busybox-b82b34e06d0f8b91a1a30a847e0b1dd80ed0a046.tar.gz |
modprobe: add support for -l and -s. Remove some unsupported options
Fixed some goofs in help text
function old new delta
modprobe_main 494 653 +159
packed_usage 27129 27145 +16
insmod_main 98 95 -3
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r-- | modutils/modprobe-small.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index cf22b94..0e1874e 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c @@ -685,6 +685,19 @@ The following options are useful for people managing distributions: Use the file instead of the current kernel symbols */ +//usage:#if ENABLE_MODPROBE_SMALL +//usage:#define modprobe_trivial_usage +//usage: "[-qfwrsv] MODULE [symbol=value]..." +//usage:#define modprobe_full_usage "\n\n" +//usage: "Options:" +//usage: "\n -r Remove MODULE (stacks) or do autoclean" +//usage: "\n -q Quiet" +//usage: "\n -v Verbose" +//usage: "\n -f Force" +//usage: "\n -w Wait for unload" +//usage: "\n -s Report via syslog instead of stderr" +//usage:#endif /* ENABLE_MODPROBE_SMALL */ + int modprobe_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int modprobe_main(int argc UNUSED_PARAM, char **argv) { |