From b82b34e06d0f8b91a1a30a847e0b1dd80ed0a046 Mon Sep 17 00:00:00 2001 From: Pascal Bellard Date: Mon, 7 Jun 2010 01:16:45 +0200 Subject: 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 Signed-off-by: Denys Vlasenko --- modutils/modprobe-small.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modutils/modprobe-small.c') diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index cf22b9471..0e1874ed4 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) { -- cgit v1.2.3