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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user