diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-12 13:16:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-12 13:16:21 +0200 |
commit | a99aa6e9c410bb0fc43ac37f105801a9b330438f (patch) | |
tree | f96f1c989b0f442a4a2fd1836c6a239337232806 /include | |
parent | 641dd7b0804838f334137accd6df6802254f7f54 (diff) | |
download | busybox-w32-a99aa6e9c410bb0fc43ac37f105801a9b330438f.tar.gz busybox-w32-a99aa6e9c410bb0fc43ac37f105801a9b330438f.tar.bz2 busybox-w32-a99aa6e9c410bb0fc43ac37f105801a9b330438f.zip |
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.h | 7 |
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 @@ | |||
3466 | "files do not block on disk I/O" | 3466 | "files do not block on disk I/O" |
3467 | 3467 | ||
3468 | #define readlink_trivial_usage \ | 3468 | #define readlink_trivial_usage \ |
3469 | IF_FEATURE_READLINK_FOLLOW("[-f] ") "FILE" | 3469 | IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE" |
3470 | #define readlink_full_usage "\n\n" \ | 3470 | #define readlink_full_usage "\n\n" \ |
3471 | "Display the value of a symlink" \ | 3471 | "Display the value of a symlink" \ |
3472 | IF_FEATURE_READLINK_FOLLOW( "\n" \ | 3472 | IF_FEATURE_READLINK_FOLLOW( "\n" \ |
3473 | "\nOptions:" \ | 3473 | "\nOptions:" \ |
3474 | "\n -f Canonicalize by following all symlinks") \ | 3474 | "\n -f Canonicalize by following all symlinks" \ |
3475 | "\n -n Don't add newline" \ | ||
3476 | "\n -v Verbose" \ | ||
3477 | ) \ | ||
3475 | 3478 | ||
3476 | #define readprofile_trivial_usage \ | 3479 | #define readprofile_trivial_usage \ |
3477 | "[OPTIONS]..." | 3480 | "[OPTIONS]..." |