diff options
author | Ned Ludd | 2004-12-08 16:47:28 +0000 |
---|---|---|
committer | Ned Ludd | 2004-12-08 16:47:28 +0000 |
commit | c6fbed5dba0ebf333fbe7af4d07ff839492f8882 (patch) | |
tree | 32f4a2fb3de679b3b670f21909272026fd35004e /include | |
parent | d824853de335d969f4d009f445bb6dfb1b18493b (diff) | |
download | busybox-c6fbed5dba0ebf333fbe7af4d07ff839492f8882.zip busybox-c6fbed5dba0ebf333fbe7af4d07ff839492f8882.tar.gz |
- 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 377eb10..d928a10 100644 --- a/include/usage.h +++ b/include/usage.h @@ -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 ..." |