Skip to content

Invalid arguments are silently ignored #99

@jtagcat

Description

@jtagcat

This works:

wl-paste --watch cliphist -max-items 20 store

Both of these actually use -max-items 750 (the default):

wl-paste --watch cliphist store -max-items 20
wl-paste --watch cliphist store --max-items 20

No error or warning is displayed. Usually, when CLIs receive invalid or unexpected input (expected no more arguments), it prints usage and quits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions