1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Fix recursive search (#323)

This commit is contained in:
Igor Chubin
2022-04-18 16:32:43 +00:00
parent e66382cb53
commit 717f89e0c2
+4 -1
View File
@@ -192,7 +192,10 @@ class LearnXYAdapter(object):
return "\n".join(self.get_list()) + "\n"
if name == ":learn":
return "\n".join(self._whole_cheatsheet) + "\n"
if self._whole_cheatsheet:
return "\n".join(self._whole_cheatsheet) + "\n"
else:
return ""
if partial:
possible_names = []