From e0b76903fcee5e1967c6537d423d79c0abf1d7f5 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 26 Aug 2013 11:12:25 +0200 Subject: [tool] suggest --fuzzy if query fails --- luaotfload-tool.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'luaotfload-tool.lua') diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua index faa5f10..c4670e8 100755 --- a/luaotfload-tool.lua +++ b/luaotfload-tool.lua @@ -859,7 +859,9 @@ actions.query = function (job) end else logs.names_report(false, 0, - "resolve", "Cannot find %q.", query) + "resolve", "Cannot find %q in index.", query) + logs.names_report(false, 0, + "resolve", "Hint: use the --fuzzy option to display suggestions.", query) if job.fuzzy == true then logs.names_report(false, 0, "resolve", "Looking for close matches, this may take a while ...") -- cgit v1.2.3