Skip to content

Commit c8b293b

Browse files
committed
zulipterminal/cli/run.py: Changed the output and outputting statements.
1 parent 664b214 commit c8b293b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

zulipterminal/cli/run.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,14 @@ def main(options: Optional[List[str]]=None) -> None:
248248
sys.exit(0)
249249

250250
if args.list_themes:
251-
print('\nThemes available:-',)
252-
print('\t' + "\n\t".join(all_themes()) + '\n')
251+
available_themes = all_themes()
252+
theme_aliases = aliased_themes()
253+
print('Themes available:-')
254+
for i, j in theme_aliases.items():
255+
if not i == 'default':
256+
print(' {} ({})'.format(i, j))
257+
else:
258+
print(' {} ({})'.format(j, i))
253259
sys.exit(0)
254260

255261
if args.config_file:

0 commit comments

Comments
 (0)