aboutsummaryrefslogtreecommitdiff
path: root/coreutils/readlink.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-31 14:43:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-31 14:43:25 +0200
commit34425389e09353a8dacdd6b23a62553f699c544c (patch)
tree4eb2e19685536384748e75af827deca885c9cc0a /coreutils/readlink.c
parente3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff)
downloadbusybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz
busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.bz2
busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.zip
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/readlink.c')
-rw-r--r--coreutils/readlink.c12
1 files changed, 12 insertions, 0 deletions
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 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9
10//usage:#define readlink_trivial_usage
11//usage: IF_FEATURE_READLINK_FOLLOW("[-fnv] ") "FILE"
12//usage:#define readlink_full_usage "\n\n"
13//usage: "Display the value of a symlink"
14//usage: IF_FEATURE_READLINK_FOLLOW( "\n"
15//usage: "\nOptions:"
16//usage: "\n -f Canonicalize by following all symlinks"
17//usage: "\n -n Don't add newline"
18//usage: "\n -v Verbose"
19//usage: )
20
9#include "libbb.h" 21#include "libbb.h"
10 22
11/* 23/*