diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index e5aad2f4f..beb32fdc9 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1032,6 +1032,11 @@ | |||
1032 | " ::shutdown:/bin/umount -a -r\n" \ | 1032 | " ::shutdown:/bin/umount -a -r\n" \ |
1033 | " ::shutdown:/sbin/swapoff -a\n" | 1033 | " ::shutdown:/sbin/swapoff -a\n" |
1034 | 1034 | ||
1035 | #ifdef CONFIG_FEATURE_INSMOD_LOAD_MAP | ||
1036 | #define USAGE_INSMOD_MAP(a) a | ||
1037 | #else | ||
1038 | #define USAGE_INSMOD_MAP(a) | ||
1039 | #endif | ||
1035 | #define insmod_trivial_usage \ | 1040 | #define insmod_trivial_usage \ |
1036 | "[OPTION]... MODULE [symbol=value]..." | 1041 | "[OPTION]... MODULE [symbol=value]..." |
1037 | #define insmod_full_usage \ | 1042 | #define insmod_full_usage \ |
@@ -1041,7 +1046,8 @@ | |||
1041 | "\t-k\tMake module autoclean-able.\n" \ | 1046 | "\t-k\tMake module autoclean-able.\n" \ |
1042 | "\t-v\tverbose output\n" \ | 1047 | "\t-v\tverbose output\n" \ |
1043 | "\t-L\tLock to prevent simultaneous loads of a module\n" \ | 1048 | "\t-L\tLock to prevent simultaneous loads of a module\n" \ |
1044 | "\t-x\tdo not export externs" | 1049 | USAGE_INSMOD_MAP("\t-m\tOutput load map to stdout") \ |
1050 | "\t-x\tdo not export externs\n" | ||
1045 | 1051 | ||
1046 | #define ip_trivial_usage \ | 1052 | #define ip_trivial_usage \ |
1047 | "[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }" | 1053 | "[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }" |