Without editing options, listing is implied
This commit is contained in:
parent
7445bf1b6b
commit
cb8f1abca7
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
8
tagger.1
8
tagger.1
@ -1,4 +1,4 @@
|
||||
.Dd July 21, 2024
|
||||
.Dd July 24, 2024
|
||||
.Dt tagger 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -49,6 +49,12 @@ If you also specify any
|
||||
(see below),
|
||||
.Nm
|
||||
reports tags before and after applying any changes.
|
||||
.Pp
|
||||
If you don't specify any
|
||||
.Sx Editing Options
|
||||
the
|
||||
.Fl l
|
||||
option is implied, and can be omitted.
|
||||
.El
|
||||
.Ss Editing Options
|
||||
.Bl -tag -width Ds
|
||||
|
Loading…
x
Reference in New Issue
Block a user