oniony / TMSU

TMSU lets you tags your files and then access them through a nifty virtual filesystem from any other application.
Other
2.01k stars 115 forks source link

--name=never removes lines #260

Open nkh opened 1 year ago

nkh commented 1 year ago

$ tmsu tags has_tags has_no_tags has_tags has_tags: some_tag has_no_tags: has_tags: some_tag

3 lines are printed

$ tmsu tags --name=never has_tags has_no_tags has_tags some_tag some_tag

2 lines are printed!

oniony commented 1 year ago

Yeah, it currently prints the tags for each file. But you're right it would be better if it printed the entire set of tags for all files when no name is specified

On Fri, 28 Oct 2022, 11:59 Nadim Khemir, @.***> wrote:

$ tmsu tags has_tags has_no_tags has_tags has_tags: some_tag has_no_tags: has_tags: some_tag

3 lines are printed

$ tmsu tags --name=never has_tags has_no_tags has_tags some_tag some_tag

2 lines are printed!

— Reply to this email directly, view it on GitHub https://github.com/oniony/TMSU/issues/260, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABOBZ2NB3RE44AJNWPJLLWFOWZRANCNFSM6AAAAAARQ6T5UA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nkh commented 1 year ago

@oniony

It does print all the tags when no name is specified!

what it doesn't is print an empty line for the files that have no tags which means that with --name=never one doesn't know which file has what tags.