aboutsummaryrefslogtreecommitdiff
path: root/toys/other/readlink.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-01-17 23:18:03 -0600
committerRob Landley <rob@landley.net>2013-01-17 23:18:03 -0600
commit3a99aef5072b6bdc50be26c23d49d5260042e385 (patch)
tree95a6a448e545631f7042e2c0f15f7e455f0d1a2d /toys/other/readlink.c
parent7c0e2803d2bff7022637fb418de571b470dee2f6 (diff)
downloadtoybox-3a99aef5072b6bdc50be26c23d49d5260042e385.tar.gz
Switch readlink on by default, and fill out readlink.test.
Diffstat (limited to 'toys/other/readlink.c')
-rw-r--r--toys/other/readlink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/other/readlink.c b/toys/other/readlink.c
index 46855f10..1c333625 100644
--- a/toys/other/readlink.c
+++ b/toys/other/readlink.c
@@ -6,7 +6,7 @@ USE_READLINK(NEWTOY(readlink, "<1>1fenq[-fe]", TOYFLAG_BIN))
config READLINK
bool "readlink"
- default n
+ default y
help
usage: readlink FILE
@@ -14,8 +14,8 @@ config READLINK
Options for producing cannonical paths (all symlinks/./.. resolved):
- -e cannonical path to existing entry (fail if nothing there)
- -f full path (fail if location does not exist)
+ -e cannonical path to existing entry (fail if missing)
+ -f full path (fail if directory missing)
-n no trailing newline
-q quiet (no output, just error code)
*/