From de189e325b945399a8d905b55cadfaa0e9a7bebd Mon Sep 17 00:00:00 2001 From: Florian Richoux Date: Sun, 4 Apr 2021 22:53:30 +0900 Subject: [PATCH] Change tag display --- pubs/commands/tag_cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubs/commands/tag_cmd.py b/pubs/commands/tag_cmd.py index c12bf8f..99ccbdb 100644 --- a/pubs/commands/tag_cmd.py +++ b/pubs/commands/tag_cmd.py @@ -87,7 +87,7 @@ def command(conf, args): rp = Repository(conf) if citekeyOrTag is None: - ui.message(color.dye_out(' '.join(sorted(rp.get_tags())), 'tag')) + ui.message(color.dye_out(', '.join(sorted(rp.get_tags())), 'tag')) else: not_citekey = False try: @@ -97,7 +97,7 @@ def command(conf, args): if not not_citekey: p = rp.pull_paper(citekeyOrTag) if tags is None: - ui.message(color.dye_out(' '.join(sorted(p.tags)), 'tag')) + ui.message(color.dye_out(', '.join(sorted(p.tags)), 'tag')) else: add_tags, remove_tags = _tag_groups(_parse_tag_seq(tags)) for tag in add_tags: