mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
fixed minor bug in lib/cheat_wrapper.py
This commit is contained in:
@@ -74,7 +74,7 @@ def _colorize_internal(topic, answer, html_needed):
|
||||
if topic in [':list', ':bash_completion']:
|
||||
return answer
|
||||
|
||||
if topic == ':firstpage':
|
||||
if topic == ':firstpage-v1':
|
||||
lines = answer.splitlines()
|
||||
answer_lines = lines[:9]
|
||||
answer_lines.append(colored.fg('grey_35')+lines[9]+colored.attr('reset'))
|
||||
|
||||
Reference in New Issue
Block a user