Open jrz opened 1 year ago
Never mind.. tagging has uses too.
Tagging is primarily used to indicate preferred files and directories. The only usage that might not make sense is rmlint // files...
(no untagged paths), but I don't see the harm in continuing to allow it.
I don't know, I've used rmlint a number times, but I simply forgot to add the option flags.
Maybe adding an option such as '--prefer-tagged' makes sense to make things a bit more explicit.
Well, I guess I might consider changing the interface. Because the default -S pOma
means that the first named paths are preferred by default anyway, so simply tagging paths without -k/K/m/M
is in fact not necessary. Tagging is a more explicit way to prefer them but I suppose if you are going to be explicit you probably want something specific.
I accidently started rmlint without --keep-all-tagged / --keep-all-untagged.
I'm not sure what uses tagging has besides these, but it makes sense to just exit if no usage is specified when tagging.