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>
This commit is contained in:
Denys Vlasenko 2009-06-12 13:16:21 +02:00
parent 641dd7b080
commit a99aa6e9c4
2 changed files with 33 additions and 7 deletions

View file

@ -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]..."