mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01: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
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue