main: switch to argh

A few breaking changes:

1. `-vvv` needs to be written as `-v -v -v`.
2. `--disk D1 D2` and others need to be written as `--disk D1 --disk D2`.
3. `--option=value` needs to be written as `--option value`

Change integration tests to adapt to the breaking changes.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2023-01-12 18:50:20 +00:00
committed by Rob Bradford
parent fe49056129
commit 111225a2a5
9 changed files with 400 additions and 649 deletions
Generated
-2
View File
@@ -178,7 +178,6 @@ dependencies = [
"anyhow",
"api_client",
"argh",
"clap",
"dirs",
"epoll",
"event_monitor",
@@ -1575,7 +1574,6 @@ dependencies = [
"arch",
"bitflags",
"block_util",
"clap",
"devices",
"epoll",
"event_monitor",