aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-12 13:16:21 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-12 13:16:21 +0200
commita99aa6e9c410bb0fc43ac37f105801a9b330438f (patch)
treef96f1c989b0f442a4a2fd1836c6a239337232806 /include
parent641dd7b0804838f334137accd6df6802254f7f54 (diff)
downloadbusybox-a99aa6e9c410bb0fc43ac37f105801a9b330438f.tar.gz
readlink: support -n, -v, -s and -q too if support for -f is requested
function old new delta readlink_main 104 135 +31 packed_usage 26322 26321 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 31/-1) Total: 30 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index e6069259b..6fb31e260 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3466,12 +3466,15 @@
"files do not block on disk I/O"
#define readlink_trivial_usage \
- IF_FEATURE_READLINK_FOLLOW("[-f] ") "FILE"
+ IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE"
#define readlink_full_usage "\n\n" \
"Display the value of a symlink" \
IF_FEATURE_READLINK_FOLLOW( "\n" \
"\nOptions:" \
- "\n -f Canonicalize by following all symlinks") \
+ "\n -f Canonicalize by following all symlinks" \
+ "\n -n Don't add newline" \
+ "\n -v Verbose" \
+ ) \
#define readprofile_trivial_usage \
"[OPTIONS]..."