haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.83k stars 110 forks source link

add --version #83

Closed jrr closed 2 years ago

jrr commented 2 years ago

Seems like this might be useful, and it addresses a TODO I left in the CI config a long time ago.

(so now the "Run executable" CI check is slightly improved, in that it could fail the job if something goes wrong)

I didn't add a parsing library, since there's just the one CLI option for now, but something like clap or structopt might make sense in the future.