Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Conversation

gondaruk
Copy link
Contributor

Looks like after recent clap update, it now panics (at least in debug) due to non-unique arguments (-h comes by both host and help).
-h for help seems to be more reasonable imo, so I suggest to remove short flag for host. Or we can make it different. Please suggest if you have better idea.

$ cargo run --bin server
    Finished dev [unoptimized + debuginfo] target(s) in 0.24s
     Running `target/debug/server`
thread 'main' panicked at 'Command webrtcsink-signalling: Short option names must be unique for each argument, but '-h' is in use by both 'host' and 'help' (call `cmd.disable_help_flag(true)` to remove the auto-generated `--help`)', /Users/nazar/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-4.0.16/src/builder/debug_asserts.rs:121:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@tp-m
Copy link

tp-m commented Oct 22, 2022

webrtcsink has just been upstreamed to https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs, so you probably want to submit your fixes there from now on.

@gondaruk
Copy link
Contributor Author

Sounds great. Thanks!

@gondaruk gondaruk closed this Oct 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants