diff toys/other/readlink.c @ 792:0027cfa330da

Switch readlink on by default, and fill out readlink.test.
author Rob Landley <rob@landley.net>
date Thu, 17 Jan 2013 23:18:03 -0600
parents 50d759f8b371
children 57f2a26fa92c
line wrap: on
line diff
--- a/toys/other/readlink.c	Thu Jan 17 23:16:38 2013 -0600
+++ b/toys/other/readlink.c	Thu Jan 17 23:18:03 2013 -0600
@@ -6,7 +6,7 @@
 
 config READLINK
   bool "readlink"
-  default n
+  default y
   help
     usage: readlink FILE
 
@@ -14,8 +14,8 @@
 
     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)
 */