[BusyBox-cvs] busybox/include usage.h,1.139,1.140

Erik Andersen andersen at codepoet.org
Thu Jan 23 04:57:38 UTC 2003


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv30683/include

Modified Files:
	usage.h 
Log Message:
Patch from  Artem Egorkine to support the -m option


Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- usage.h	19 Jan 2003 13:34:20 -0000	1.139
+++ usage.h	23 Jan 2003 04:57:34 -0000	1.140
@@ -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 }"




More information about the busybox-cvs mailing list