Skip to content

Target-query runtime arguments interpreted as TARGET #1508

@JSCU-CNI

Description

@JSCU-CNI

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions