Hello Phil,
The option -use MWG loads the MWG-modul in order to work with MWG-tags.
Help text says:
... As a convenience, "-use MWG" is assumed if the "MWG" group is specified for any tag on the command line.
I did the following tests with a file that contains almost all MWG-tags:
exiftool -g0:1 -mwg:all <file with mwg-tags>
displays all MWG-tags.
exiftool -g0:1 -1mwg:all <file with mwg-tags>
displays no tags; I had also to give -use MWG as option to see also MWG-tags.
Now I have 2 questions:
Is the behaviour of 2nd command by design or should the MWG-modul also be loaded implicitly?
Is in case using command
exiftool -g0:1 -all:all --mwg:all <file>
the MWG-modul also loaded?
Thanks for your help in advance
Best regards
herb
Hi Herb,
Good point. It probably should be loaded with -1mwg:all. But I'm not sure what to do with --mwg:all. Maybe it should be loaded here too?
Also note that it isn't curently loaded with options like -artist:mwg:all, but it should be.
- Phil
Hmmm. Looking at the code I don't think it is worthwhile testing for all these cases. I think I'll just mention in the docs that it is only loaded if the group name is "mwg" exactly for any requested tag.
- Phil
Hello Phil,
thanks for your investigations and answers.
QuoteI think I'll just mention in the docs that it is only loaded if the group name is "mwg" exactly for any requested tag.
I fully agree; I asked these questions in order to know the exact state.
Additional note:
QuoteBut I'm not sure what to do with --mwg:all. Maybe it should be loaded here too?
I would not have agreed because --mwg:all reduces the number of tags.
Thanks again.
Best regards
herb
OK. I'll leave it as is. --mwg:all doesn't load the MWG module. The documentation will state:
As a convenience, "-use MWG" is assumed if the group name prefix starts with
"MWG:" exactly for any requested tag.
- Phil