summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-24 20:14:32 +0000
committerDenis Vlasenko2007-09-24 20:14:32 +0000
commita545726d2baa08b28510336b32d85de91df51d9e (patch)
tree22be96f507e7e1079526bdacef5e081455b2243f /include
parentd9c6a001e3356656ab3bc31f18778602484075e0 (diff)
downloadbusybox-a545726d2baa08b28510336b32d85de91df51d9e.zip
busybox-a545726d2baa08b28510336b32d85de91df51d9e.tar.gz
insmod: fix help text to not show options if only 2.6 was selected
Diffstat (limited to 'include')
-rw-r--r--include/usage.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index eb1a641..09c8fa7 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1584,9 +1584,10 @@
" ::shutdown:/sbin/swapoff -a\n"
#define insmod_trivial_usage \
- "[OPTION]... MODULE [symbol=value]..."
+ USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..."
#define insmod_full_usage \
"Load the specified kernel modules into the kernel" \
+ USE_FEATURE_2_4_MODULES( \
"\n\nOptions:\n" \
" -f Force module to load into the wrong kernel version\n" \
" -k Make module autoclean-able\n" \
@@ -1594,9 +1595,11 @@
" -q Quiet\n" \
" -L Lock to prevent simultaneous loads of a module\n" \
USE_FEATURE_INSMOD_LOAD_MAP( \
- " -m Output load map to stdout\n") \
+ " -m Output load map to stdout\n" \
+ ) \
" -o NAME Set internal module name to NAME\n" \
- " -x Do not export externs"
+ " -x Do not export externs" \
+ )
#define install_trivial_usage \
"[-cgmops] [sources] dest|directory"