The target-query command below incorrectly parses value as a TARGET.
target-query --function function --argument value /path/to/target
This is unexpected as target-query -h states that it expects target-query [n.. arguments] [TARGETS ...]. The --argument in question can be any argument from a plugin's @arg decorator.
Changing the command to --argument=value fixes this for now, but perhaps the argparser needs to be adjusted accordingly.