From b3b5ae1240cc45db80a2412e769ebace72281f00 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 19 Dec 2018 09:18:00 -0800 Subject: 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". --- toys/other/readlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -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" -- cgit v1.2.3