Skip to content

Lowering volume using the minus sign wth swayosd-client fails with "unexpected argument" #192

@busybox11

Description

@busybox11

Since the introduction of Clap in this commit for use with swayosd-client, trying to change the volume with it using a parameter involving the minus sign will fail:

rain@realbox ❯ ./build/src/swayosd-client --output-volume -1
error: unexpected argument '-1' found

Usage: swayosd-client [OPTIONS]

For more information, try '--help'.

Was able to confirm this used to work by checking out to the previous commit. Going to see if I can drop a PR right now.

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