[BusyBox-cvs] CVS busybox/include

CVS User solar solar at codepoet.org
Wed Dec 8 16:47:28 UTC 2004


Update of /var/cvs/busybox/include
In directory nail:/tmp/cvs-serv31942/include

Modified Files:
	usage.h 
Log Message:
- CONFIG_FEATURE_READLINK_FOLLOW readlink -f patch from Colin Watson <cjwatson at debian.org> on busybox mailing list 08/11/04

--- /var/cvs/busybox/include/usage.h	2004/09/14 16:23:56	1.222
+++ /var/cvs/busybox/include/usage.h	2004/12/08 16:47:27	1.223
@@ -1985,10 +1985,18 @@
 	"\t-s\tSet the system date and time (default).\n" \
 	"\t-p\tPrint the date and time."
 
+#ifdef CONFIG_FEATURE_READLINK_FOLLOW
+#define USAGE_READLINK_FOLLOW(a) a
+#else
+#define USAGE_READLINK_FOLLOW(a)
+#endif
+
 #define readlink_trivial_usage \
-	""
+	USAGE_READLINK_FOLLOW("[-f] ") "FILE"
 #define readlink_full_usage \
-	"Displays the value of a symbolic link."
+	"Displays the value of a symbolic link." \
+	USAGE_READLINK_FOLLOW("\n\nOptions:\n" \
+	"\t-f\tcanonicalize by following all symlinks")
 
 #define realpath_trivial_usage \
 	"pathname  ..."



More information about the busybox-cvs mailing list