mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 23:41:36 +01:00
Removed the asterisks denoting the boundaries of the cheatsheets.
This commit is contained in:
parent
cd1b43118d
commit
3399b8905d
2
cheat
2
cheat
@ -117,7 +117,6 @@ def main():
|
|||||||
|
|
||||||
# print the cheatsheet if it exists
|
# print the cheatsheet if it exists
|
||||||
if keyphrase in cheatsheets:
|
if keyphrase in cheatsheets:
|
||||||
print ''.join('*' for x in range(80)) + "\n"
|
|
||||||
filename = os.path.join(cheatsheets[keyphrase], keyphrase)
|
filename = os.path.join(cheatsheets[keyphrase], keyphrase)
|
||||||
if USE_PYGMENTS:
|
if USE_PYGMENTS:
|
||||||
pretty_print(filename)
|
pretty_print(filename)
|
||||||
@ -125,7 +124,6 @@ def main():
|
|||||||
with open(filename) as istream:
|
with open(filename) as istream:
|
||||||
for l in istream:
|
for l in istream:
|
||||||
sys.stdout.write(l)
|
sys.stdout.write(l)
|
||||||
print "\n" + ''.join('*' for x in range(80))
|
|
||||||
|
|
||||||
# if it does not, say so
|
# if it does not, say so
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user