Skip to content

Misleading error message when appending queries #414

@tpoliaw

Description

@tpoliaw

I am using trurl to append fields to a query to avoid url encoding them.

From the reading the man page, not paying enough attention and misinterpreting Long options can be provided either as --flag argument or as --flag=argument and -a, --append [component]=[data], I ran

trurl --url http://localhost:8000 --append query foo=bar

and got the error

trurl error: --append unsupported component: query

While the examples in the docs do use query=key=value, it threw me when it said query wasn't supported. Could the error be something like component query missing data or similar?

Thanks, and thanks for trurl in general, really helpful tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions