-d now separates output using a newline

This commit is contained in:
a-sk 2013-09-04 09:52:54 +04:00
parent 16244be4ea
commit ebdca118ea

2
cheat
View File

@ -143,7 +143,7 @@ def main():
# list cheat directories and exit # list cheat directories and exit
if option in ['-d', '--cheat_directories']: if option in ['-d', '--cheat_directories']:
print(' '.join(cheat_directories())) print('\n'.join(cheat_directories()))
exit() exit()
# print the cheatsheet if it exists # print the cheatsheet if it exists