From 34425389e09353a8dacdd6b23a62553f699c544c Mon Sep 17 00:00:00 2001 From: Pere Orga Date: Thu, 31 Mar 2011 14:43:25 +0200 Subject: move help text from include/usage.src.h to coreutils/*.c Signed-off-by: Pere Orga Signed-off-by: Denys Vlasenko --- coreutils/readlink.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'coreutils/readlink.c') diff --git a/coreutils/readlink.c b/coreutils/readlink.c index 87602fbc6..1a0eca646 100644 --- a/coreutils/readlink.c +++ b/coreutils/readlink.c @@ -6,6 +6,18 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ + +//usage:#define readlink_trivial_usage +//usage: IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE" +//usage:#define readlink_full_usage "\n\n" +//usage: "Display the value of a symlink" +//usage: IF_FEATURE_READLINK_FOLLOW( "\n" +//usage: "\nOptions:" +//usage: "\n -f Canonicalize by following all symlinks" +//usage: "\n -n Don't add newline" +//usage: "\n -v Verbose" +//usage: ) + #include "libbb.h" /* -- cgit v1.2.3-55-g6feb