summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-22 18:29:01 +0000
committerDenis Vlasenko2008-11-22 18:29:01 +0000
commit36309cf3f495dcfd4aba541425b34dd2455cccf2 (patch)
tree5ab06fac3af13f714ac6f69dfacf88246499ce10 /include
parentcc5feabeba2b1cbc3a1751af08f645b868967519 (diff)
downloadbusybox-36309cf3f495dcfd4aba541425b34dd2455cccf2.zip
busybox-36309cf3f495dcfd4aba541425b34dd2455cccf2.tar.gz
insmod: clarify module_name / file_name distinction
Diffstat (limited to 'include')
-rw-r--r--include/usage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 5223e9e..49c9400 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1864,8 +1864,12 @@
"\ninotifyd waits for PROG to exit." \
"\nWhen x event happens for all FILEs, inotifyd exits" \
+/* 2.6 style insmod has no options and required filename
+ * (not module name - .ko can't be omitted) */
#define insmod_trivial_usage \
- USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..."
+ USE_FEATURE_2_4_MODULES("[OPTION]... MODULE ") \
+ SKIP_FEATURE_2_4_MODULES("FILE ") \
+ "[symbol=value]..."
#define insmod_full_usage "\n\n" \
"Load the specified kernel modules into the kernel" \
USE_FEATURE_2_4_MODULES( "\n" \