mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-22 01:40:48 +03:00
Fix recursive search (#323)
This commit is contained in:
parent
e66382cb53
commit
717f89e0c2
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user