diff options
author | Ned Ludd <solar@gentoo.org> | 2004-12-08 16:47:28 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-12-08 16:47:28 +0000 |
commit | c6fbed5dba0ebf333fbe7af4d07ff839492f8882 (patch) | |
tree | 32f4a2fb3de679b3b670f21909272026fd35004e /include | |
parent | d824853de335d969f4d009f445bb6dfb1b18493b (diff) | |
download | busybox-w32-c6fbed5dba0ebf333fbe7af4d07ff839492f8882.tar.gz busybox-w32-c6fbed5dba0ebf333fbe7af4d07ff839492f8882.tar.bz2 busybox-w32-c6fbed5dba0ebf333fbe7af4d07ff839492f8882.zip |
- CONFIG_FEATURE_READLINK_FOLLOW readlink -f patch from Colin Watson <cjwatson@debian.org> on busybox mailing list 08/11/04
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index 377eb10e7..d928a10a3 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1985,10 +1985,18 @@ | |||
1985 | "\t-s\tSet the system date and time (default).\n" \ | 1985 | "\t-s\tSet the system date and time (default).\n" \ |
1986 | "\t-p\tPrint the date and time." | 1986 | "\t-p\tPrint the date and time." |
1987 | 1987 | ||
1988 | #ifdef CONFIG_FEATURE_READLINK_FOLLOW | ||
1989 | #define USAGE_READLINK_FOLLOW(a) a | ||
1990 | #else | ||
1991 | #define USAGE_READLINK_FOLLOW(a) | ||
1992 | #endif | ||
1993 | |||
1988 | #define readlink_trivial_usage \ | 1994 | #define readlink_trivial_usage \ |
1989 | "" | 1995 | USAGE_READLINK_FOLLOW("[-f] ") "FILE" |
1990 | #define readlink_full_usage \ | 1996 | #define readlink_full_usage \ |
1991 | "Displays the value of a symbolic link." | 1997 | "Displays the value of a symbolic link." \ |
1998 | USAGE_READLINK_FOLLOW("\n\nOptions:\n" \ | ||
1999 | "\t-f\tcanonicalize by following all symlinks") | ||
1992 | 2000 | ||
1993 | #define realpath_trivial_usage \ | 2001 | #define realpath_trivial_usage \ |
1994 | "pathname ..." | 2002 | "pathname ..." |