Without editing options, listing is implied

This commit is contained in:
2024-07-24 12:02:54 +02:00
parent 7445bf1b6b
commit cb8f1abca7
2 changed files with 8 additions and 4 deletions

View File

@ -80,9 +80,7 @@ static void process(const char* path) {
std::string joined {sc::join(tags, ",")};
throw_if_min1(setxattr(path, tagname, joined.c_str(), joined.size(), 0));
} else {
if (should_list) {
std::cout << path << ": " << sc::io::yellowf << sc::join(tags, ", ") << sc::io::reset << '\n';
}
std::cout << path << ": " << sc::io::yellowf << sc::join(tags, ", ") << sc::io::reset << '\n';
}
}