Add -e for exact searches (no fuzzy matches).

Only exact matches (or synonyms) are returned for simple searches.
This commit is contained in:
Peter
2017-07-28 11:27:19 +02:00
parent 586215fda7
commit e85927e562
11 changed files with 43 additions and 6 deletions

View File

@@ -350,7 +350,7 @@ bool Library::process_phrase(const char *loc_str, IReadLine &io, bool force)
break;
case qtSIMPLE:
SimpleLookup(get_impl(str), res_list);
if (res_list.empty())
if (res_list.empty() && fuzzy_)
LookupWithFuzzy(get_impl(str), res_list);
break;
case qtDATA: