From 1a5e11c874a1f53c5205140a9d675b7e6404bbc9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 16 Oct 2010 01:56:41 +0200 Subject: modutils/*: move help bits into corresponding .c files Signed-off-by: Denys Vlasenko --- modutils/rmmod.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modutils/rmmod.c') diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 51390eb83..dde77731f 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -10,6 +10,19 @@ //applet:IF_RMMOD(APPLET(rmmod, _BB_DIR_SBIN, _BB_SUID_DROP)) +//usage:#if !ENABLE_MODPROBE_SMALL +//usage:#define rmmod_trivial_usage +//usage: "[-wfa] [MODULE]..." +//usage:#define rmmod_full_usage "\n\n" +//usage: "Unload kernel modules\n" +//usage: "\nOptions:" +//usage: "\n -w Wait until the module is no longer used" +//usage: "\n -f Force unload" +//usage: "\n -a Remove all unused modules (recursively)" +//usage:#define rmmod_example_usage +//usage: "$ rmmod tulip\n" +//usage:#endif + #include "libbb.h" #include "modutils.h" -- cgit v1.2.3