aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-12-19 09:18:00 -0800
committerRob Landley <rob@landley.net>2018-12-19 13:51:18 -0600
commitb3b5ae1240cc45db80a2412e769ebace72281f00 (patch)
tree5bb5eeb87ed1a078d68378e4895cba048853f3d2 /toys/other
parent880e41fa961173652b4a414b1e6740f610421a21 (diff)
downloadtoybox-b3b5ae1240cc45db80a2412e769ebace72281f00.tar.gz
readlink: add --canonicalize synonym for -f.
Internally, Google uses all the longopts; Android currently only uses this one. I was tempted to add the others, but went with "add them when a toybox user needs them" rather than "add them when you've seen them used".
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/readlink.c b/toys/other/readlink.c
index 1a75dcac..6a1a7443 100644
--- a/toys/other/readlink.c
+++ b/toys/other/readlink.c
@@ -2,7 +2,7 @@
*
* Copyright 2007 Rob Landley <rob@landley.net>
-USE_READLINK(NEWTOY(readlink, "<1>1nqmef[-mef]", TOYFLAG_USR|TOYFLAG_BIN))
+USE_READLINK(NEWTOY(readlink, "<1>1nqmef(canonicalize)[-mef]", TOYFLAG_USR|TOYFLAG_BIN))
config READLINK
bool "readlink"