From a99aa6e9c410bb0fc43ac37f105801a9b330438f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 12 Jun 2009 13:16:21 +0200 Subject: 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 --- include/usage.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') 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]..." -- cgit v1.2.3