Skip to content

Let --search override --nodesc #615

@emsaks

Description

@emsaks

I use uhubctl within a function called by other parts of a script, that can pass parameters to be forwarded to uhubctl. I like to use --nodesc by default, so the 'inner' function specifies it, but sometimes the function caller needs to search by description. Obviously, if the --search parameter is specified, the is no choice but to query device description, so the --nodesc should be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions