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

regression fix

This commit is contained in:
Igor Chubin
2020-08-06 04:35:14 +00:00
parent dfc7612ac9
commit 318541c8ae
+3
View File
@@ -55,6 +55,9 @@ def match(paragraph, keyword, options=None, options_dict=None):
For example: ~ssh~passphrase
"""
if keyword is None:
return True
if '~' in keyword:
keywords = keyword.split('~')
else: