tool: Use clap for argument parsing

This commit is contained in:
Ian Douglas Scott
2021-02-18 15:50:41 -08:00
committed by Jeremy Soller
parent 504284bf72
commit 7c5ba4e62c
3 changed files with 244 additions and 140 deletions

View File

@@ -16,6 +16,7 @@ name = "system76_ectool"
required-features = ["std"]
[dependencies]
clap = "2"
libc = { version = "0.2", optional = true }
hidapi = { version = "1.2", default-features = false, features = ["linux-static-hidraw"], optional = true }
redox_hwio = { version = "0.1.3", optional = true }