Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

player -d xxx is rejected but --device=xxx works #250

Closed
sezero opened this issue Mar 31, 2024 · 4 comments
Closed

player -d xxx is rejected but --device=xxx works #250

sezero opened this issue Mar 31, 2024 · 4 comments
Labels
Milestone

Comments

@sezero
Copy link
Contributor

sezero commented Mar 31, 2024

@psi29a, @winterheart: With alsa or oss configured, --device=default or --device=/dev/dsp works, but -d default or -d /dev/dsp does not: Fails with ./wildmidi: invalid option -- 'd'

It used to work before (e.g. in 0.4.5) -- what am I doing wrong? (It's probably something obvious, but I can't see it for now..)

(Originally posted by @sezero in #223 (comment))

@sezero sezero added this to the 0.4.6 milestone Mar 31, 2024
@sezero sezero added the bug label Mar 31, 2024
@oreo639
Copy link

oreo639 commented Mar 31, 2024

The -d option got removed here: 889a837#diff-c3e8abef5f54490b4c232e68b2215b1077fa323fe158b1bf3a7f0a85fb9c2adbR432

(the removal of d: from getopt_long())

@sezero
Copy link
Contributor Author

sezero commented Mar 31, 2024

The -d option got removed here: 889a837#diff-c3e8abef5f54490b4c232e68b2215b1077fa323fe158b1bf3a7f0a85fb9c2adbR432

(the removal of d: from getopt_long())

But it was added back here: 1b397db

@sezero
Copy link
Contributor Author

sezero commented Mar 31, 2024

(the removal of d: from getopt_long())

Ah that one, obviously missed that fixing now.

sezero added a commit that referenced this issue Mar 31, 2024
@sezero
Copy link
Contributor Author

sezero commented Mar 31, 2024

Fixed by 22b8126

Thanks @oreo639

@sezero sezero closed this as completed Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants