mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 15:31:36 +01:00
-d now separates output using a newline
This commit is contained in:
parent
16244be4ea
commit
ebdca118ea
2
cheat
2
cheat
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user