Merge branch 'minus-d-uses-new-line-sep' of https://github.com/a-sk/cheat into a-sk-minus-d-uses-new-line-sep

* 'minus-d-uses-new-line-sep' of https://github.com/a-sk/cheat:
  -d now separates output using a newline
This commit is contained in:
Chris Lane 2013-09-07 13:34:45 -04:00
commit b107019664

2
cheat
View File

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