diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-23 04:57:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-23 04:57:35 +0000 |
commit | be65c350ae535f80ea369be5366e09f730ab7ba8 (patch) | |
tree | 2c4a28c0533945a6551c1d794e79ccb8f0a0505e /include | |
parent | 889dd20c6998c0cded684f5557748fc13a3b769e (diff) | |
download | busybox-be65c350ae535f80ea369be5366e09f730ab7ba8.tar.gz |
Patch from Artem Egorkine to support the -m option
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 @@ " ::shutdown:/bin/umount -a -r\n" \ " ::shutdown:/sbin/swapoff -a\n" +#ifdef CONFIG_FEATURE_INSMOD_LOAD_MAP + #define USAGE_INSMOD_MAP(a) a +#else + #define USAGE_INSMOD_MAP(a) +#endif #define insmod_trivial_usage \ "[OPTION]... MODULE [symbol=value]..." #define insmod_full_usage \ @@ -1041,7 +1046,8 @@ "\t-k\tMake module autoclean-able.\n" \ "\t-v\tverbose output\n" \ "\t-L\tLock to prevent simultaneous loads of a module\n" \ - "\t-x\tdo not export externs" + USAGE_INSMOD_MAP("\t-m\tOutput load map to stdout") \ + "\t-x\tdo not export externs\n" #define ip_trivial_usage \ "[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }" |