mirror of
https://github.com/cheat/cheat.git
synced 2025-05-17 13:46:05 +02:00
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
|
||||
if option in ['-d', '--cheat_directories']:
|
||||
print(' '.join(cheat_directories()))
|
||||
print('\n'.join(cheat_directories()))
|
||||
exit()
|
||||
|
||||
# print the cheatsheet if it exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user