mirror of https://github.com/cheat/cheat.git
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:
commit
b107019664
2
cheat
2
cheat
|
@ -166,7 +166,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
|
||||||
|
|
Loading…
Reference in New Issue