A little earlier today I ended up spending a lot of time trying to figure out why weston wasn't managing to launch over SSH and telling me that I did not have a --tty option specified, despite me passing the option strings ["--tty", "3"]. Turns out weston just doesn't support that. So, add support for this kind of format in addition to "--foo=bar" to save others from making the same mistake I did. Changes since v1: - Add comment about unreachable boolean check in long_option_with_arg() - Convert boolean check in long_option_with_arg() to assert Signed-off-by: Lyude <lyude@redhat.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>dev
parent
dbfd248da4
commit
47bbdc7296
Loading…
Reference in new issue